aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/hcd.c')
-rw-r--r--drivers/usb/core/hcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index c5a2f83991dc..87d6edf11f92 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1410,6 +1410,8 @@ void usb_hcd_giveback_urb (struct usb_hcd *hcd, struct urb *urb)
1410 } 1410 }
1411 1411
1412 usbmon_urb_complete (&hcd->self, urb); 1412 usbmon_urb_complete (&hcd->self, urb);
1413 usb_unanchor_urb(urb);
1414
1413 /* pass ownership to the completion handler */ 1415 /* pass ownership to the completion handler */
1414 urb->complete (urb); 1416 urb->complete (urb);
1415 atomic_dec (&urb->use_count); 1417 atomic_dec (&urb->use_count);