mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
USB: missing test for ESHUTDOWN in adutux driver
this driver lacks a test for unlink due to ESHUTDOWN Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
60b69a966f
commit
f6c1ceaa38
@ -188,7 +188,8 @@ static void adu_interrupt_in_callback(struct urb *urb)
|
||||
spin_lock(&dev->buflock);
|
||||
|
||||
if (status != 0) {
|
||||
if ((status != -ENOENT) && (status != -ECONNRESET)) {
|
||||
if ((status != -ENOENT) && (status != -ECONNRESET) &&
|
||||
(status != -ESHUTDOWN)) {
|
||||
dbg(1," %s : nonzero status received: %d",
|
||||
__FUNCTION__, status);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user