Changeset 5fd9c30 in mainline for uspace/drv/bus/usb/uhci/uhci_rh.c
- Timestamp:
- 2017-10-21T20:52:56Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 766043c
- Parents:
- 74b852b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_rh.c
r74b852b r5fd9c30 39 39 #include <usb/classes/hub.h> 40 40 #include <usb/request.h> 41 #include <usb/host/endpoint.h> 41 42 #include <usb/usb.h> 42 43 … … 106 107 do { 107 108 batch->error = virthub_base_request(&instance->base, target, 108 usb_transfer_batch_direction(batch), (void*)batch->setup_buffer,109 batch->dir, (void*) batch->setup.buffer, 109 110 batch->buffer, batch->buffer_size, &batch->transfered_size); 110 111 if (batch->error == ENAK) … … 113 114 //ENAK is technically an error condition 114 115 } while (batch->error == ENAK); 115 usb_transfer_batch_finish(batch, NULL); 116 usb_transfer_batch_destroy(batch); 116 usb_transfer_batch_finish(batch); 117 117 return EOK; 118 118 }
Note:
See TracChangeset
for help on using the changeset viewer.