[PATCH] Reject authentication start during BSS TM requests

Jouni Malinen j at w1.fi
Tue Jan 11 10:15:04 PST 2022


On Wed, Jan 05, 2022 at 01:35:13AM +0000, Nicolas Norvez wrote:
> After receiving a BSS Transition Management request,
> wpa_supplicant_connect() will abort ongoing scans, which will cause scan
> results to be reported. Since the reassociate bit is set, this will
> trigger a connection attempt based on the aborted scan's scan results
> and cancel the initial connection request. This often causes
> wpa_supplicant to reassociate to the same AP it is currently associated
> to instead of the AP it was asked to transition to.
> 
> Add a bss_trans_mgmt_in_progress flag to indicate that we're currently
> transitioning to a different AP so that we don't initiate another
> connection attempt based on the possibly received scan results from a
> scan that was in progress at the time the BSS Transition Management
> request was received.
> 
> This patch is the equivalent of commit
> 5ac977758d3535e91160ff210f3e8a578031029d for the roaming scenario.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list