]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/usb/host/xhci.c
USB: xhci: Fix issue with set interface after stall.
[net-next-2.6.git] / drivers / usb / host / xhci.c
index 7e4277273908fc6cb31cc596e2e45482b7021ebd..077dfcd57dc9ca74fc71bde91af90fa6c1e6e9e5 100644 (file)
@@ -1438,6 +1438,8 @@ void xhci_endpoint_reset(struct usb_hcd *hcd,
                kfree(virt_ep->stopped_td);
                xhci_ring_cmd_db(xhci);
        }
+       virt_ep->stopped_td = NULL;
+       virt_ep->stopped_trb = NULL;
        spin_unlock_irqrestore(&xhci->lock, flags);
 
        if (ret)