Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/endpoint.c

    r3bacee1 rcb19590  
    102102        if (dev->speed >= USB_SPEED_HIGH ||
    103103            ep->transfer_type != USB_TRANSFER_INTERRUPT) {
     104
     105                // XXX: According to the spec, the interval should be
     106                //      from [1, 16]. However, in QEMU, we get 0 here
     107                //      (a QEMU bug?).
     108                if (xhci_ep->interval == 0)
     109                        xhci_ep->interval = 8;
     110
    104111                xhci_ep->interval = 1 << (xhci_ep->interval - 1);
    105112        }
Note: See TracChangeset for help on using the changeset viewer.