Changes in uspace/drv/usbhub/utils.c [281ebae:103a3626] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/utils.c
r281ebae r103a3626 116 116 117 117 int usb_drv_sync_control_read( 118 119 120 121 118 int phone, usb_target_t target, 119 usb_device_request_setup_packet_t * request, 120 void * rcvd_buffer, size_t rcvd_size, size_t * actual_size 121 ) { 122 122 usb_handle_t handle; 123 123 int opResult; 124 124 //setup 125 125 opResult = usb_drv_async_control_read_setup(phone, target, 126 127 126 request, sizeof (usb_device_request_setup_packet_t), 127 &handle); 128 128 if (opResult != EOK) { 129 129 return opResult; … … 158 158 159 159 int usb_drv_sync_control_write( 160 161 162 163 160 int phone, usb_target_t target, 161 usb_device_request_setup_packet_t * request, 162 void * sent_buffer, size_t sent_size 163 ) { 164 164 usb_handle_t handle; 165 165 int opResult; 166 166 //setup 167 167 opResult = usb_drv_async_control_write_setup(phone, target, 168 169 168 request, sizeof (usb_device_request_setup_packet_t), 169 &handle); 170 170 if (opResult != EOK) { 171 171 return opResult; … … 188 188 //finalize 189 189 opResult = usb_drv_async_control_write_status(phone, target, 190 190 &handle); 191 191 if (opResult != EOK) { 192 192 return opResult;
Note:
See TracChangeset
for help on using the changeset viewer.