Changeset 7a7bfeb3 in mainline for uspace/lib/usbvirt/stdreq.c
- Timestamp:
- 2010-10-24T16:43:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 355f7c2
- Parents:
- b8a3cda
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/stdreq.c
rb8a3cda r7a7bfeb3 57 57 if ((type == USB_DESCTYPE_DEVICE) && (index == 0)) { 58 58 if (device->descriptors && device->descriptors->device) { 59 return device-> send_data(device, 0,59 return device->control_transfer_reply(device, 0, 60 60 device->descriptors->device, 61 61 device->descriptors->device->length); … … 95 95 } 96 96 97 int rc = device-> send_data(device, 0, all_data,98 config->descriptor->total_length);97 int rc = device->control_transfer_reply(device, 0, 98 all_data, config->descriptor->total_length); 99 99 100 100 free(all_data);
Note:
See TracChangeset
for help on using the changeset viewer.