Skip to contentSkip to conversation

carl9170: fix usb anchor wait timeout

PATCH New Christian Lamparter 1 participant 1 message Nov 15, 2010 CARL9170 Linux community wireless driver

lore
Share & tools
lore

Christian Lamparter

author maintainer
#0 lore raw

PATCH 1/1 carl9170: fix usb anchor wait timeout

usb_wait_anchor_empty_timeout's @timeout
wants milliseconds and not jiffies.

---

drivers/net/wireless/ath/carl9170/usb.c +2 -2
index 82c5f1c..a268053 100644
@@ -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);