Changeset eeca8a6 in mainline for uspace/drv/bus/usb/usbhub/port.c
- Timestamp:
- 2018-01-16T19:22:58Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4603b35
- Parents:
- 47e9494
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
r47e9494 reeca8a6 246 246 * TODO: Make the request synchronous. 247 247 */ 248 while ((err = usbhc_reserve_default_address(exch , port->speed)) == EAGAIN) {248 while ((err = usbhc_reserve_default_address(exch)) == EAGAIN) { 249 249 fibril_condvar_wait_timeout(&port->state_cv, &port->guard, 500000); 250 250 if (port->state != PORT_CONNECTED) { … … 271 271 port_log(debug, port, "Port reset, enumerating device."); 272 272 273 if ((err = usbhc_device_enumerate(exch, port->port_number ))) {273 if ((err = usbhc_device_enumerate(exch, port->port_number, port->speed))) { 274 274 port_log(error, port, "Failed to enumerate device: %s", str_error(err)); 275 275 port_change_state(port, PORT_DISABLED);
Note:
See TracChangeset
for help on using the changeset viewer.