]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/events.c
SAE: Special test mode sae_pwe=3 for looping with password identifier
[thirdparty/hostap.git] / wpa_supplicant / events.c
index 12e22e84e0ff9e910aa4d64de7347a1875ae796a..ba03d9f1f95b0755f263cd3225a57c696a5c66c6 100644 (file)
@@ -1301,6 +1301,7 @@ struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
 
 #ifdef CONFIG_SAE
                if ((wpa_s->conf->sae_pwe == 1 || ssid->sae_password_id) &&
+                   wpa_s->conf->sae_pwe != 3 &&
                    wpa_key_mgmt_sae(ssid->key_mgmt) &&
                    (!(ie = wpa_bss_get_ie(bss, WLAN_EID_RSNX)) ||
                     ie[1] < 1 ||