Changes in uspace/drv/bus/usb/xhci/endpoint.c [cb19590:3bacee1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
rcb19590 r3bacee1 102 102 if (dev->speed >= USB_SPEED_HIGH || 103 103 ep->transfer_type != USB_TRANSFER_INTERRUPT) { 104 105 // XXX: According to the spec, the interval should be106 // from [1, 16]. However, in QEMU, we get 0 here107 // (a QEMU bug?).108 if (xhci_ep->interval == 0)109 xhci_ep->interval = 8;110 111 104 xhci_ep->interval = 1 << (xhci_ep->interval - 1); 112 105 }
Note:
See TracChangeset
for help on using the changeset viewer.