Changeset 062165f in mainline
- Timestamp:
- 2011-10-31T16:15:54Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f37eb84
- Parents:
- 1b17e37
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/hub.c
r1b17e37 r062165f 254 254 255 255 do { 256 rc = usb_ pipe_register_with_speed(&ctrl_pipe, dev_speed, 0,257 &hc_conn);258 if (rc != EOK) {256 rc = usb_hc_request_address(&hc_conn, USB_ADDRESS_DEFAULT, 257 true, dev_speed); 258 if (rc != USB_ADDRESS_DEFAULT) { 259 259 /* Do not overheat the CPU ;-). */ 260 260 async_usleep(ENDPOINT_0_0_REGISTER_ATTEMPT_DELAY_USEC); 261 261 } 262 } while (rc != EOK); 262 } while (rc == ENOENT); 263 if (rc != EOK) { 264 goto leave_release_free_address; 265 } 266 267 rc = usb_pipe_register_with_speed(&ctrl_pipe, dev_speed, 0, &hc_conn); 268 if (rc != EOK) { 269 rc = ENOTCONN; 270 goto leave_release_default_address; 271 } 272 263 273 struct timeval end_time; 264 274
Note:
See TracChangeset
for help on using the changeset viewer.