summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/usb-rx.c
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-20 04:09:25 +0200
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-11-03 21:49:37 +0100
commit296bd4bdd0a43c5e56ee310bcb9b4722e5d52db8 (patch)
treeb28697a4970d95b6605e5c2b92e18fe7208573f0 /drivers/net/wimax/i2400m/usb-rx.c
parentwimax/i2400m: fix device getting stuck in IDLE mode (diff)
downloadlinux-296bd4bdd0a43c5e56ee310bcb9b4722e5d52db8.tar.xz
linux-296bd4bdd0a43c5e56ee310bcb9b4722e5d52db8.zip
wimax/i2400m: Fix USB timeout specifications (to ms from HZ)
The USB code was incorrectly specifiying timeouts to be in jiffies vs msecs. On top of that, lower it to 200ms, as 1s is really too long (doesn't allow the watchdog to trip a reset if the device timesout too often). Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/usb-rx.c')
-rw-r--r--drivers/net/wimax/i2400m/usb-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/usb-rx.c b/drivers/net/wimax/i2400m/usb-rx.c
index 245587feb8c8..22d127bf79e1 100644
--- a/drivers/net/wimax/i2400m/usb-rx.c
+++ b/drivers/net/wimax/i2400m/usb-rx.c
@@ -214,7 +214,7 @@ retry:
}
result = usb_bulk_msg(
i2400mu->usb_dev, usb_pipe, rx_skb->data + rx_skb->len,
- rx_size, &read_size, HZ);
+ rx_size, &read_size, 200);
usb_mark_last_busy(i2400mu->usb_dev);
switch (result) {
case 0: