Open valff opened 5 years ago
Without this fix there is no way to figure out how many bytes transferred if the call interrupted by timeout.
Excerpt from libusb_bulk_transfer documentation:
libusb_bulk_transfer
Returns 0 on success (and populates transferred) LIBUSB_ERROR_TIMEOUT if the transfer timed out (and populates transferred)
Without this fix there is no way to figure out how many bytes transferred if the call interrupted by timeout.
Excerpt from
libusb_bulk_transfer
documentation: