On 01/26/2012 07:49 PM, Alan Stern wrote:
Because the XHCI core re-ordered the data and status URB and status
completed before data. So the data urb got canceled.
That doesn't mean you received no data. No data means
urb->actual_length == 0, whereas cancelled means urb->status == -ENOENT
or -ECONNRESET. Those are two independent conditions; one can be true
without the other.
That's what would happen in this case. Since all the data was received
by the host, urb->actual_length would be nonzero -- even if urb->status
indicates an unlink.
If urb->actual_length gets updated then everything is okay.
Alan Stern
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html