diff options
author | Arvid Brodin <arvid.brodin@enea.com> | 2011-04-26 21:46:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-02 17:03:50 -0700 |
commit | 22bea9cef810ec54abdb057de46cea04c972dc64 (patch) | |
tree | 392df7416082549abcb8c45a0f768ddd7ea5e979 /drivers/usb/host/isp1760-hcd.c | |
parent | eb1a796868effbf33ec2cfa3d15567d7e31f2ee2 (diff) | |
download | op-kernel-dev-22bea9cef810ec54abdb057de46cea04c972dc64.zip op-kernel-dev-22bea9cef810ec54abdb057de46cea04c972dc64.tar.gz |
usb/isp1760: Report correct urb status after unlink
This fixes a bug in my previous (2.6.38) patch series which caused
urb->status value to be wrong after unlink (broke usbtest 11, 12).
Signed-off-by: Arvid Brodin <arvid.brodin@enea.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1760-hcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index a5f03cd..b38cfe9 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c @@ -1516,6 +1516,7 @@ static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) ints[i].qh = NULL; ints[i].qtd = NULL; + urb->status = status; isp1760_urb_done(hcd, urb); if (qtd) pe(hcd, qh, qtd); |