commit | ecdc0a590268f1926ed8534a040a390c77d20948 | [log] [tgz] |
---|---|---|
author | Franck Bui-Huu <vagabon.xyz@gmail.com> | Wed Jul 12 10:09:41 2006 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Sep 27 11:58:51 2006 -0700 |
tree | 2815f3ad943ed71e16ce02b8e87dccfd41609a00 | |
parent | 014aa2a3c32ebe33f97e9d219d91d3c5c7231bf7 [diff] |
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>