Am Sonntag 25 November 2001 10:29 schrieb Matthew Dharm:

> > The problem is the short transfer.
>
> Consider queuing 4 1K URBs.  The device decides to only send us 2.5K of
> data, which will complete the first 2 URBs and then terminate the 3rd on a
> short packet.
>
> But that's not an error.  So the 4th URB will still run.  And, since these
> are all queued up, the code doesn't have a chance to cancel the 4th URB
> fast enough.

Is there a problem with treating it as an error ?
We should introduce a third parameter to the completion handlers to indicate 
the URB that caused them to be called.
In principle queueing URBs is more flexible as you could submit whole 
sequences as one.

        Regards
                Oliver

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to