]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtw88: fix stopping queues in wrong timing when HW scan
authorChih-Kang Chang <gary.chang@realtek.com>
Wed, 27 Jul 2022 06:50:01 +0000 (14:50 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 9 Aug 2022 05:48:08 +0000 (08:48 +0300)
commitbfd3332c5347bbe4cd65c788518354e69c3549e3
tree2a48a0bc5edd68e3325341a9a3bb973d58bbd4b1
parentbe87d0d1c52b6af7b3e3e9b269474ff22837f9e5
wifi: rtw88: fix stopping queues in wrong timing when HW scan

HW scan need to start queues after switch to OP channel, and stop queues
before leaving op channel. However, in original code, driver will start
queues after switch to OP channel, but stop queues until switch to OP
channel next time, that will cause packets transmitted in wrong channel.
So we fix the stop queues timing.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220727065003.28340-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/fw.c