ce-page-details: add SAE support

This commit is contained in:
David Bauer 2019-12-21 17:39:02 +01:00 committed by Robert Ancell
parent 2e79c53194
commit 97f6c8f53c

View file

@ -97,8 +97,17 @@ get_ap_security_string (NMAccessPoint *ap)
g_string_append_printf (str, "%s, ", _("WPA"));
}
if (rsn_flags != NM_802_11_AP_SEC_NONE) {
/* TRANSLATORS: this WPA WiFi security */
g_string_append_printf (str, "%s, ", _("WPA2"));
#if NM_CHECK_VERSION(1,20,6)
if (rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_SAE) {
/* TRANSLATORS: this WPA3 WiFi security */
g_string_append_printf (str, "%s, ", _("WPA3"));
}
else
#endif
{
/* TRANSLATORS: this WPA WiFi security */
g_string_append_printf (str, "%s, ", _("WPA2"));
}
}
if ((wpa_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X) ||
(rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X)) {