diff options
| author | Franck Bui-Huu <vagabon.xyz@gmail.com> | 2006-07-12 10:09:41 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 11:58:51 -0700 |
| commit | ecdc0a590268f1926ed8534a040a390c77d20948 (patch) | |
| tree | 2815f3ad943ed71e16ce02b8e87dccfd41609a00 /lib/parser.c | |
| 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>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions
