Franck Bui-Huu ecdc0a5902 USB: usbcore get rid of the timer in usb_start_wait_urb()
This patch uses completion timeout instead of a timer to implement
a timeout when submitting an URB in usb_start_wait_urb().

It also fixes a small issue. With the previous code, if no timeout
happened and the URB's status was set to ECONNRESET value, the code
assumed wrongly that a timeout had occured.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:51 -07:00
..
2006-09-26 15:38:52 -07:00
2006-09-27 16:20:22 +09:00
2006-07-14 21:53:54 -07:00
2006-09-27 08:26:19 -07:00
2006-07-12 15:38:28 -07:00
2006-08-10 07:31:37 -04:00
2006-08-10 07:31:37 -04:00