Signed-off-by: Nicolas Escande <nico.escande@xxxxxxxxx> --- src/ap/ap_config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c index 051b843e9..d2b8dd244 100644 --- a/src/ap/ap_config.c +++ b/src/ap/ap_config.c @@ -1187,6 +1187,13 @@ static bool hostapd_config_check_bss_6g(struct hostapd_bss_config *bss) return false; } +#ifdef CONFIG_SAE + if ((bss->wpa_key_mgmt & WPA_KEY_MGMT_SAE) && !bss->sae_pwe) { + wpa_printf(MSG_ERROR, "SAE with H2E is mandatory on 6 GHz"); + return false; + } +#endif + if (bss->rsn_pairwise & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104 | WPA_CIPHER_TKIP)) { -- 2.35.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap