diff options
author | Yen-lin Lai <yenlinlai@chromium.org> | 2021-02-01 15:06:49 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-02-08 13:17:13 +0200 |
commit | b7fd26c913f1f639b9d5bbf69266751f84a2a372 (patch) | |
tree | 9f655ec448c2c060a6159174f9123d1e62461c25 /drivers/net/wireless/ti | |
parent | 199276b9bcefdffad776287de092160084caf677 (diff) | |
download | linux-b7fd26c913f1f639b9d5bbf69266751f84a2a372.tar.bz2 |
mwifiex: Report connected BSS with cfg80211_connect_bss()
When a network is moved or reconfigured on the different channel, there
can be multiple BSSes with the same BSSID and SSID in scan result
before the old one expires. Then, it can cause cfg80211_connect_result
to map current_bss to a bss with the wrong channel.
Let mwifiex_cfg80211_assoc return the selected BSS and then the caller
can report it cfg80211_connect_bss.
Signed-off-by: Yen-lin Lai <yenlinlai@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210201070649.1667209-1-yenlinlai@chromium.org
Diffstat (limited to 'drivers/net/wireless/ti')
0 files changed, 0 insertions, 0 deletions