ChangeSet 1.1807.48.31, 2004/08/02 16:24:51-07:00, [EMAIL PROTECTED]

[PATCH] USB: fix build error from previous patch.

Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/usb/core/message.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/core/message.c b/drivers/usb/core/message.c
--- a/drivers/usb/core/message.c        2004-08-23 13:19:23 -07:00
+++ b/drivers/usb/core/message.c        2004-08-23 13:19:23 -07:00
@@ -580,7 +580,7 @@
                if (result == 0 || result == -EPIPE)
                        continue;
                if (result > 1 && ((u8 *)buf)[1] != type) {
-                       retval = -EPROTO;
+                       result = -EPROTO;
                        continue;
                }
                break;



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to