On Sun, Jan 31, 2021 at 11:07 PM Yen-lin Lai <yenlinlai@xxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxx> This seems sane to me: Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx>