Changeset 913007f in mainline for uspace/drv/bus/usb/xhci/endpoint.c
- Timestamp:
- 2017-10-19T21:40:57Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fe1c48d
- Parents:
- 2896ff6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
r2896ff6 r913007f 87 87 * 88 88 * For control endpoints >0, the IN endpoint index is used. 89 * 89 * 90 90 * The index returned must be usually offset by a number of contexts preceding 91 91 * the endpoint contexts themselves. … … 257 257 cmd.slot_id = dev->slot_id; 258 258 xhci_send_configure_endpoint_command(dev->hc, &cmd, ictx); 259 if ((err = xhci_cmd_wait(&cmd )) != EOK)259 if ((err = xhci_cmd_wait(&cmd, XHCI_DEFAULT_TIMEOUT)) != EOK) 260 260 goto err_cmd; 261 261 … … 324 324 cmd.slot_id = dev->slot_id; 325 325 xhci_send_configure_endpoint_command(hc, &cmd, ictx); 326 if ((err = xhci_cmd_wait(&cmd )) != EOK)326 if ((err = xhci_cmd_wait(&cmd, XHCI_DEFAULT_TIMEOUT)) != EOK) 327 327 goto err_cmd; 328 328
Note:
See TracChangeset
for help on using the changeset viewer.