]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rsi: fix control-message timeout
authorJohan Hovold <johan@kernel.org>
Mon, 25 Oct 2021 12:05:22 +0000 (14:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Nov 2021 12:18:02 +0000 (13:18 +0100)
commit032f9ee641eb5910262a0331803e0b64f4e9e59c
tree0f7af8d8b06c696c5e8d9c8db8d7e800ef722f52
parent5d9b6a5d3541271f618a6cd873e573c4013da5d4
rsi: fix control-message timeout

commit 541fd20c3ce5b0bc39f0c6a52414b6b92416831c 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: dad0d04fa7ba ("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>
drivers/net/wireless/rsi/rsi_91x_usb.c