Skip to content

Commit 541fd20

Browse files
jhovoldKalle Valo
authored andcommitted
rsi: fix control-message timeout
USB control-message timeouts are specified in milliseconds and should specifically not vary with CONFIG_HZ. Use the common control-message timeout define for the five-second timeout. Fixes: dad0d04 ("rsi: Add RS9113 wireless driver") Cc: [email protected] # 3.15 Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2e9be53 commit 541fd20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/rsi/rsi_91x_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static int rsi_usb_card_write(struct rsi_hw *adapter,
5858
(void *)seg,
5959
(int)len,
6060
&transfer,
61-
HZ * 5);
61+
USB_CTRL_SET_TIMEOUT);
6262

6363
if (status < 0) {
6464
rsi_dbg(ERR_ZONE,

0 commit comments

Comments
 (0)