Am Sonntag, 12. Januar 2003 14:01 schrieb Wolfgang Mües:
> Hello Oliver,
>
> On Sunday 12 January 2003 13:18, Oliver Neukum wrote:
> > OK, if we are to do this let's do it right and divorce state from
> > error reporting.
> > As far as I can tell an URB should have four states, with preliminary
> > names:
> >
> > 1 - URB_FREE
> > 2 - URB_SUBMITTED
> > 3 - URB_COMPLETING
> > 4 - URB_CANCELED
> >
> > with the following transitions allowed:
> > 1->2, 2->3, 3->1, 3->2, 3->4, 4->1
>
> In which state is an URB which is submitted, but not completed?
> I suspect state 2 - URB_SUBMITTED.
> What should I do if I want to cancel this URB?
> This is a transition 2->4.

Yes, you are right. I missed that. Somewhat embarrasing to miss
the common case ;-)

        Regards
                Oliver



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to