mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
rsi: fix control-message timeout
commit541fd20c3c
upstream. 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:dad0d04fa7
("rsi: Add RS9113 wireless driver") Cc: stable@vger.kernel.org # 3.15 Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211025120522.6045-5-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d3edfebf2a
commit
57bf5755bf
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ static int rsi_usb_card_write(struct rsi_hw *adapter,
|
|||
(void *)seg,
|
||||
(int)len,
|
||||
&transfer,
|
||||
HZ * 5);
|
||||
USB_CTRL_SET_TIMEOUT);
|
||||
|
||||
if (status < 0) {
|
||||
rsi_dbg(ERR_ZONE,
|
||||
|
|
Loading…
Reference in a new issue