]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
[NET]: kaweth was forgotten in msec switchover of usb_start_wait_urb
authorRuss Dill <Russ.Dill@asu.edu>
Tue, 8 Jan 2008 05:48:12 +0000 (21:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2008 07:30:15 +0000 (23:30 -0800)
Back in 2.6.12-pre, usb_start_wait_urb was switched over to take
milliseconds instead of jiffies. kaweth.c was never updated to match.

Signed-off-by: Russ Dill <Russ.Dill@asu.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/kaweth.c

index 58a53a641754ba74fefd04fa048c649cc6f4faee..569ad8bfd3833448aec6625f0b1bd87a6441d1a9 100644 (file)
@@ -70,7 +70,7 @@
 #define KAWETH_TX_TIMEOUT              (5 * HZ)
 #define KAWETH_SCRATCH_SIZE            32
 #define KAWETH_FIRMWARE_BUF_SIZE       4096
-#define KAWETH_CONTROL_TIMEOUT         (30 * HZ)
+#define KAWETH_CONTROL_TIMEOUT         (30000)
 
 #define KAWETH_STATUS_BROKEN           0x0000001
 #define KAWETH_STATUS_CLOSING          0x0000002