* [PATCH for-2.6.37] carl9170: fix usb anchor wait timeout
@ 2010-11-15 14:11 Christian Lamparter
0 siblings, 0 replies; only message in thread
From: Christian Lamparter @ 2010-11-15 14:11 UTC (permalink / raw)
To: linux-wireless; +Cc: linville
usb_wait_anchor_empty_timeout's @timeout
wants milliseconds and not jiffies.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
---
diff --git a/drivers/net/wireless/ath/carl9170/usb.c b/drivers/net/wireless/ath/carl9170/usb.c
index 82c5f1c..a268053 100644
--- a/drivers/net/wireless/ath/carl9170/usb.c
+++ b/drivers/net/wireless/ath/carl9170/usb.c
@@ -556,1 +556,1 @@ static int carl9170_usb_flush(struct ar9170 *ar)
- ret = usb_wait_anchor_empty_timeout(&ar->tx_cmd, HZ);
+ ret = usb_wait_anchor_empty_timeout(&ar->tx_cmd, 1000);
@@ -561,1 +561,1 @@ static int carl9170_usb_flush(struct ar9170 *ar)
- ret = usb_wait_anchor_empty_timeout(&ar->tx_anch, HZ);
+ ret = usb_wait_anchor_empty_timeout(&ar->tx_anch, 1000);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-15 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-15 14:11 [PATCH for-2.6.37] carl9170: fix usb anchor wait timeout Christian Lamparter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).