USB: reorganize urb->status use in usbmon
[deliverable/linux.git] / drivers / usb / core / hcd.c
index 8b17babf5c55b8c2e47e23f7c05b43146ce5dcca..4ac021e42cd8186cdcf0155e6fbda509be055120 100644 (file)
@@ -1275,7 +1275,7 @@ void usb_hcd_giveback_urb (struct usb_hcd *hcd, struct urb *urb)
                urb->status = -EREMOTEIO;
 
        unmap_urb_for_dma(hcd, urb);
-       usbmon_urb_complete(&hcd->self, urb);
+       usbmon_urb_complete(&hcd->self, urb, urb->status);
        usb_unanchor_urb(urb);
 
        /* pass ownership to the completion handler */
This page took 0.028154 seconds and 5 git commands to generate.