Greg:

Further testing uncovered a _very_ minor error in usb-skeleton: there
should not be a debugging log message for a successful write.

This goes on top of the previous patch.

Alan Stern


===== drivers/usb/usb-skeleton.c 1.37 vs edited =====
--- 1.37/drivers/usb/usb-skeleton.c     Wed Mar  5 00:09:52 2003
+++ edited/drivers/usb/usb-skeleton.c   Fri Mar  7 14:53:37 2003
@@ -455,7 +455,7 @@
 
        dbg("%s - minor %d", __FUNCTION__, dev->minor);
 
-       if ((urb->status != -ENOENT) && 
+       if (urb->status && (urb->status != -ENOENT) && 
            (urb->status != -ECONNRESET)) {
                dbg("%s - nonzero write bulk status received: %d",
                    __FUNCTION__, urb->status);



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to