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

Changeset 815b244a in mainline


Ignore:
Timestamp:
2012-02-23T20:46:37Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
fd3abb6d
Parents:
bfc5c9dd
Message:

usbhub: Consider endian when setting port number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/port.c

    rbfc5c9dd r815b244a  
    353353                .request = USB_HUB_REQUEST_GET_STATUS,
    354354                .value = 0,
    355                 .index = port->port_number,
     355                .index = uint16_host2usb(port->port_number),
    356356                .length = sizeof(usb_port_status_t),
    357357        };
Note: See TracChangeset for help on using the changeset viewer.