From: Sharadanand Karanjkar <skaranjkar@xxxxxxxxx> Signed-off-by: Sharadanand Karanjkar <skaranjkar@xxxxxxxxx> --- wpa_supplicant/config_file.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index 2335c52..756cbe4 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -56,6 +56,13 @@ static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) ssid->group_cipher &= ~WPA_CIPHER_CCMP; } + if (is_6ghz_freq(ssid->frequency) && ssid->mode == WPAS_MODE_MESH && + ssid->key_mgmt == WPA_KEY_MGMT_NONE) { + wpa_printf(MSG_ERROR, + "Line %d: key_mgmt for mesh network in 6GHz should be SAE", + line); + errors++; + } if (ssid->mode == WPAS_MODE_MESH && (ssid->key_mgmt != WPA_KEY_MGMT_NONE && ssid->key_mgmt != WPA_KEY_MGMT_SAE)) { -- 2.30.2 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap