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-27 11:58:49 -07:00
2006-09-25 21:08:37 -07:00
2006-09-27 11:58:50 -07:00
2006-09-27 11:58:50 -07:00
2005-04-16 15:20:36 -07:00
2006-09-27 11:58:50 -07:00