backport acx100 2.6.24 fixes from SVN
[openwrt.git] / target / linux / adm5120 / patches-2.6.24 / 915-usb_eliminate_urb_status.patch
1 Index: linux-2.6.24/drivers/usb/host/adm5120-q.c
2 ===================================================================
3 --- linux-2.6.24.orig/drivers/usb/host/adm5120-q.c
4 +++ linux-2.6.24/drivers/usb/host/adm5120-q.c
5 @@ -48,8 +48,7 @@ __acquires(ahcd->lock)
6 /* urb->complete() can reenter this HCD */
7 usb_hcd_unlink_urb_from_ep(admhcd_to_hcd(ahcd), urb);
8 spin_unlock(&ahcd->lock);
9 - urb->status = status;
10 - usb_hcd_giveback_urb(admhcd_to_hcd(ahcd), urb);
11 + usb_hcd_giveback_urb(admhcd_to_hcd(ahcd), urb, status);
12 spin_lock(&ahcd->lock);
13 }
14
This page took 0.040711 seconds and 5 git commands to generate.