diff --git a/components/wpa_supplicant/esp_supplicant/src/esp_hostap.c b/components/wpa_supplicant/esp_supplicant/src/esp_hostap.c index 813a96a288..f6c6ebb6a2 100644 --- a/components/wpa_supplicant/esp_supplicant/src/esp_hostap.c +++ b/components/wpa_supplicant/esp_supplicant/src/esp_hostap.c @@ -169,7 +169,10 @@ void *hostap_init(void) wpa_printf(MSG_DEBUG, "overriding transition_disable config with 0 as authmode is not WPA3"); } +#ifdef CONFIG_SAE auth_conf->sae_require_mfp = 1; +#endif /* CONFIG_SAE */ + //TODO change it when AP support GCMP-PSK auth_conf->group_mgmt_cipher = WPA_CIPHER_AES_128_CMAC;