Am Donnerstag, 10. November 2005 09:51 schrieb Herbert Xu:
> As you can see, the urb->status check is not needed to ensure that the
> URB will not be resubmitted.  Since you can't rely on urb->status to
> always be ECONNRESET/ESHUTDOWN in a shutdown case, it should be removed.

But we cannot simply ignore an error that usbcore indicates.
On device removal the correct thing is to nothing, in particular, not
resubmit.
And why would synchronisation be needed? Usbcore will no longer
touch urb->status in the callback.

        Regards
                Oliver


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to