rtlwifi: unlink bss when un-association
authorTsang-Shian Lin <thlin@realtek.com>
Wed, 17 Jan 2018 06:15:23 +0000 (14:15 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 17 Jan 2018 15:09:13 +0000 (17:09 +0200)
commit37e89a0e5aa0e310f8a111e5accb4f34ee11bb17
tree2cfdd716f470f3850255302b76f73baec55d2a88
parentc8abbe79cce67f201bbbe8ce797476fdc96a80f4
rtlwifi: unlink bss when un-association

When AP change bandwidth setting from 20M to 40M, STA may use old 20M AP
information to association with AP. Driver unlink bss in the
.bss_info_changed of ieee80211_ops to make sure that later scan can get
correct AP bandwidth capability.

Signed-off-by: Tsang-Shian Lin <thlin@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/core.c