ChangeSet 1.1123.18.2, 2003/08/11 15:11:46-07:00, [EMAIL PROTECTED]

[PATCH] USB: return to old timeout handling

it seems that I've broken usblp. This reverts to the old
behaviour. Please apply.

  - revert to old timeout handling


 drivers/usb/class/usblp.c |    6 ------
 1 files changed, 6 deletions(-)


diff -Nru a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
--- a/drivers/usb/class/usblp.c Fri Aug 15 10:48:41 2003
+++ b/drivers/usb/class/usblp.c Fri Aug 15 10:48:41 2003
@@ -626,12 +626,6 @@
                                }
                        }
                        remove_wait_queue(&usblp->wait, &wait);
-                       if (!timeout) {
-                               /* we timed out and need to bail out cleanly */
-                               usb_unlink_urb(usblp->writeurb);
-                               return writecount ? writecount : -EIO;
-                       }
-
                }
 
                down (&usblp->sem);



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to