xhci: fix reporting of 0-sized URBs in control endpoint
[pandora-kernel.git] / drivers / usb / host / xhci.h
index 3383645..25a1902 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * xHCI host controller driver
  *
@@ -1256,6 +1257,8 @@ struct xhci_td {
        struct xhci_segment     *start_seg;
        union xhci_trb          *first_trb;
        union xhci_trb          *last_trb;
+       /* actual_length of the URB has already been set */
+       bool                    urb_length_set;
 };
 
 /* xHCI command default timeout value */