Changes in uspace/lib/usb/src/usbdrv.c [3937bda:0a6fa9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/usbdrv.c
r3937bda r0a6fa9f 464 464 assert(setup_packet != NULL); 465 465 assert(setup_packet_size > 0); 466 assert( ((buffer != NULL) && (buffer_size > 0))467 || ((buffer == NULL) && (buffer_size == 0)));466 assert(buffer != NULL); 467 assert(buffer_size > 0); 468 468 assert(handle != NULL); 469 469 … … 494 494 } 495 495 496 if (buffer_size > 0) { 497 rc = async_data_write_start(phone, buffer, buffer_size); 498 if (rc != EOK) { 499 async_wait_for(transfer->request, NULL); 500 return rc; 501 } 496 rc = async_data_write_start(phone, buffer, buffer_size); 497 if (rc != EOK) { 498 async_wait_for(transfer->request, NULL); 499 return rc; 502 500 } 503 501
Note:
See TracChangeset
for help on using the changeset viewer.