diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/usb-skeleton.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c index a31fcfd5eda7..1b1e669dff9a 100644 --- a/drivers/usb/usb-skeleton.c +++ b/drivers/usb/usb-skeleton.c | |||
@@ -420,6 +420,8 @@ static void skel_disconnect(struct usb_interface *interface) | |||
420 | dev->interface = NULL; | 420 | dev->interface = NULL; |
421 | mutex_unlock(&dev->io_mutex); | 421 | mutex_unlock(&dev->io_mutex); |
422 | 422 | ||
423 | usb_kill_anchored_urbs(&dev->submitted); | ||
424 | |||
423 | /* decrement our usage count */ | 425 | /* decrement our usage count */ |
424 | kref_put(&dev->kref, skel_delete); | 426 | kref_put(&dev->kref, skel_delete); |
425 | 427 | ||