]> git.ipfire.org Git - thirdparty/hostap.git/commit
Allow a lower priority BSS to be tried after network disabling
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 24 Nov 2022 10:03:01 +0000 (12:03 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Nov 2022 10:03:01 +0000 (12:03 +0200)
commit65c8633d90551a745e72e194a6ca98bbf60d6d0f
tree71a7b47faca30eb0479fcfd8ba9165bc97f1be93
parente91ac53d53da3074337b305905f4e4aac4cd72ea
Allow a lower priority BSS to be tried after network disabling

If a higher priority BSS has invalid security parameters, e.g., an
invalid SAE password, and a lower priority BSS is discovered only after
the local network profile has been temporarily disabled, the BSSID
ignoring mechanism is not sufficient to allow the lower priority BSS to
be tried and all consecutive attempts will continue to use the higher
priority BSS. This might prevent connection in some unexpected cases
with invalid network configuration.

Extend BSSID ignoring mechanism to work in this type of a case by
ignoring the BSSID that resulted in disabling the SSID temporarily
during the first connection attempt after having re-enabled the SSID.
This allows a lower priority BSS, if any is available in scan results,
to be tried next to see if it might have working security parameters.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wpa_supplicant/config_ssid.h
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h