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

Changeset 2b35478 in mainline


Ignore:
Timestamp:
2017-10-25T12:23:25Z (4 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master
Children:
3cbc138
Parents:
a5b3de6
Message:

usb fix: fixed mistaken argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/ddf_helpers.c

    ra5b3de6 r2b35478  
    511511        }
    512512
    513         device_t *dev = hcd_ddf_device_create(hc, USB_SPEED_MAX);
     513        device_t *dev = hcd_ddf_device_create(hc, hcd->bus->device_size);
    514514        if (!dev) {
    515515                usb_log_error("Failed to create function for the root hub.");
Note: See TracChangeset for help on using the changeset viewer.