Changeset 944f8fdd in mainline for uspace/lib/usbhost/src/usb2_bus.c
- Timestamp:
- 2018-01-19T17:38:22Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2833bb4
- Parents:
- 861b5d6
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 17:06:40)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 17:38:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/usb2_bus.c
r861b5d6 r944f8fdd 45 45 #include <usb/descriptor.h> 46 46 #include <usb/request.h> 47 #include <usb/host/utility.h> 47 48 #include <usb/usb.h> 48 49 … … 140 141 } 141 142 142 if ((err = hc d_get_ep0_max_packet_size(&ep0_desc.endpoint.max_packet_size, &bus->base, dev)))143 if ((err = hc_get_ep0_max_packet_size(&ep0_desc.endpoint.max_packet_size, &bus->base, dev))) 143 144 goto err_address; 144 145 … … 199 200 200 201 /* Read the device descriptor, derive the match ids */ 201 if ((err = hc d_device_explore(dev))) {202 if ((err = hc_device_explore(dev))) { 202 203 usb_log_error("Device(%d): Failed to explore device: %s", dev->address, str_error(err)); 203 204 release_address(bus, dev->address);
Note:
See TracChangeset
for help on using the changeset viewer.