A timed out transfer might have been partially filled. Propagate
tpriv->size to avoid dropping this data.
Closes #876
Signed-off-by: Nathan Hjelm <hjelmn@cs.unm.edu>
usbi_dbg ("handling transfer completion type %s with kernel status %d", transfer_types[transfer->type], tpriv->result);
- if (kIOReturnSuccess == tpriv->result || kIOReturnUnderrun == tpriv->result) {
+ if (kIOReturnSuccess == tpriv->result || kIOReturnUnderrun == tpriv->result || kIOUSBTransactionTimeout == tpriv->result) {
if (is_isoc && tpriv->isoc_framelist) {
/* copy isochronous results back */
-#define LIBUSB_NANO 11605
+#define LIBUSB_NANO 11606