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:07:49 -0700 |
commit | d93da492d9a8840a0bdda88e74df8d0f593f1977 (patch) | |
tree | c99abc7835ef9cc8e552fade0fcf8c31d9c2a495 | |
parent | 6e3d4bec6b1e0829ed8b23be750762255f225019 (diff) | |
download | op-kernel-dev-d93da492d9a8840a0bdda88e74df8d0f593f1977.zip op-kernel-dev-d93da492d9a8840a0bdda88e74df8d0f593f1977.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>
-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 795345a..7b2e69a 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c @@ -1633,6 +1633,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); |