2021-02-01 22:07:30

by Brian Norris

[permalink] [raw]
Subject: Re: [PATCH] mwifiex: Report connected BSS with cfg80211_connect_bss()

On Sun, Jan 31, 2021 at 11:07 PM Yen-lin Lai <[email protected]> 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 <[email protected]>

This seems sane to me:

Reviewed-by: Brian Norris <[email protected]>