fix(wifi): fix build issue when disable wpa3 sae

This commit is contained in:
wangtao@espressif.com
2025-01-10 16:05:28 +08:00
committed by BOT
parent e71a1290d6
commit f1f420ad05

View File

@@ -168,7 +168,10 @@ void *hostap_init(void)
wpa_printf(MSG_DEBUG, "overriding transition_disable config with 0 as authmode is not WPA3"); wpa_printf(MSG_DEBUG, "overriding transition_disable config with 0 as authmode is not WPA3");
} }
#ifdef CONFIG_SAE
auth_conf->sae_require_mfp = 1; auth_conf->sae_require_mfp = 1;
#endif /* CONFIG_SAE */
//TODO change it when AP support GCMP-PSK //TODO change it when AP support GCMP-PSK
auth_conf->group_mgmt_cipher = WPA_CIPHER_AES_128_CMAC; auth_conf->group_mgmt_cipher = WPA_CIPHER_AES_128_CMAC;