Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6acc80f3 in mainline


Ignore:
Timestamp:
2011-04-08T13:57:37Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
6bec59b
Parents:
4b39af4
Message:

Size is always max_packet_size in endpoint registration

At least until the parameter is added
CONTROL and BULK do not use bandwidth, so this does not matter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/iface.c

    r4b39af4 r6acc80f3  
    206206        const usb_speed_t speed =
    207207            usb_device_keeper_get_speed(&hc->manager, address);
    208         const size_t size =
    209             (transfer_type == USB_TRANSFER_INTERRUPT
    210             || transfer_type == USB_TRANSFER_ISOCHRONOUS) ?
    211             max_packet_size : 0;
     208        const size_t size = max_packet_size;
    212209        int ret;
    213210
Note: See TracChangeset for help on using the changeset viewer.