]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtw88: fix store OP channel info timing when HW scan
authorChih-Kang Chang <gary.chang@realtek.com>
Wed, 27 Jul 2022 06:50:02 +0000 (14:50 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 9 Aug 2022 05:48:08 +0000 (08:48 +0300)
commitdd249fe2e19e66a82fa5fcf9c865e4652347bcc7
tree9392a04a2f257dc84582416e61a75887e56f314d
parent381fc931c105beb5f55c4a57f3850c402664f2e3
wifi: rtw88: fix store OP channel info timing when HW scan

The original timing that store OP channel info is after associated.
However, HW scan might happen before associated without backing to
OP channel, that will cause authentication or association fail.
Therefore, we modify the timing of storing OP channel info.

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-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/fw.c
drivers/net/wireless/realtek/rtw88/fw.h
drivers/net/wireless/realtek/rtw88/mac80211.c