Changeset 23b0fe8 in mainline for uspace/lib/usbhost/src/iface.c
- Timestamp:
- 2011-08-25T13:16:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e20eaed
- Parents:
- 90dd59d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/iface.c
r90dd59d r23b0fe8 78 78 } 79 79 80 /* No private data and no private data_dtor, these should be set by 81 * batch_init_hook*/ 80 /* No private data and no private data dtor, these will be set later */ 82 81 usb_transfer_batch_init(batch, ep, data, NULL, size, setup_data, 83 82 setup_size, in, out, arg, fun, NULL, NULL); 84 if (hcd->batch_init_hook) { 85 ret = hcd->batch_init_hook(batch); 86 if (ret != EOK) 87 goto out; 88 } else { 89 usb_log_warning("Missing batch_private_data constructor!\n"); 90 } 83 91 84 if (hcd->schedule) { 92 85 ret = hcd->schedule(hcd, batch); … … 204 197 return ENOMEM; 205 198 int ret = EOK; 199 206 200 if (hcd->ep_add_hook) { 207 ret = hcd->ep_add_hook( ep);201 ret = hcd->ep_add_hook(hcd, ep); 208 202 } 209 203 if (ret != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.