On Fri, 18 Aug 2006, Peter Oehry wrote:

> The new log shows whats going wrong. But I don't see why?
> It seems that the parameters passed to the set_usb_configuration() are 
> completely rubbish.

Okay, I figured it out (after lots of testing).  It's really stupid.

Near the end of the patch, just after the line where it calls 
schedule_work(), change

        if (rc) {

to

        if (!rc) {

I'm going to complain bitterly about the way queue_work() and 
schedule_work() return 0 for failure.  This is the second time I've 
tripped over that.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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