diff options
-rw-r--r-- | drivers/usb/misc/auerswald.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/auerswald.c b/drivers/usb/misc/auerswald.c index 1fd5fc220cd7..3e22b2ff9e74 100644 --- a/drivers/usb/misc/auerswald.c +++ b/drivers/usb/misc/auerswald.c | |||
@@ -630,7 +630,7 @@ static int auerchain_start_wait_urb (pauerchain_t acp, struct urb *urb, int time | |||
630 | } else | 630 | } else |
631 | status = urb->status; | 631 | status = urb->status; |
632 | 632 | ||
633 | if (actual_length) | 633 | if (status >= 0) |
634 | *actual_length = urb->actual_length; | 634 | *actual_length = urb->actual_length; |
635 | 635 | ||
636 | return status; | 636 | return status; |