> Of course, there's another problem that's equally bad but less solvable. > If the SET_CONFIGURATION message fails, the device is left in an unknown > state, probably the same state as it was in before. But we have already > disabled all the interfaces and unbound all the drivers. > > Presumably all the memory allocation should be done before clearing out > the prior state, so that if we run out of memory nothing will have > changed. How does that sound?
Very sensible. But, as you noted, it won't solve the problem of the actual io setting the configuration fails. I am not sure what to do in that case. Reset? Regards Oliver ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel