carl9170: fix usb anchor wait timeout
Christian Lamparter
maintainerPATCH 1/1 carl9170: fix usb anchor wait timeout
usb_wait_anchor_empty_timeout's @timeout
wants milliseconds and not jiffies.
Signed-off-by Christian Lamparter <[email protected]>
---
drivers/net/wireless/ath/carl9170/usb.c +2 -2
@@ -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 );