Ignore:
File:
1 edited

Legend:

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

    rcb19590 r3bacee1  
    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 
    111104                xhci_ep->interval = 1 << (xhci_ep->interval - 1);
    112105        }
Note: See TracChangeset for help on using the changeset viewer.