>>Can't you just giveback() in the first place if you know it's >>already been unlinked? > > > the problem is, the driver unlinks it in urb->complete, so if the urb was > then passed to giveback(), the urb->complete would get called again with > status -ECONNRESET. I think that should be fine in general, (and would > clean up correctly), but I don't think that's what the behavior was > before, and I was trying to keep the behavior consistent.
Ah, there we go. I've always run under the assumption that there's a callback after usb_unlink_urb(). Just one more little corner of behavior that won't have a chance to differ between HCDs when automagic resubmit goes away! :) - Dave ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
