Changeset 913007f in mainline for uspace/drv/bus/usb/xhci/rh.c
- Timestamp:
- 2017-10-19T21:40:57Z (6 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/rh.c
r2896ff6 r913007f 91 91 92 92 xhci_send_enable_slot_command(hc, &cmd); 93 if ((err = xhci_cmd_wait(&cmd )) != EOK)93 if ((err = xhci_cmd_wait(&cmd, XHCI_DEFAULT_TIMEOUT)) != EOK) 94 94 return err; 95 95 … … 155 155 cmd.slot_id = slot_id; 156 156 xhci_send_address_device_command(hc, &cmd, ictx); 157 if ((err = xhci_cmd_wait(&cmd )) != EOK)157 if ((err = xhci_cmd_wait(&cmd, XHCI_DEFAULT_TIMEOUT)) != EOK) 158 158 goto err_dctx; 159 159 … … 400 400 xhci_get_port_bandwidth_command(dev->hc, &cmd, ctx, speed); 401 401 402 int err = xhci_cmd_wait(&cmd );402 int err = xhci_cmd_wait(&cmd, XHCI_DEFAULT_TIMEOUT); 403 403 if(err != EOK) { 404 404 free(ctx);
Note:
See TracChangeset
for help on using the changeset viewer.