ce-page-details: add SAE support
This commit is contained in:
parent
2e79c53194
commit
97f6c8f53c
1 changed files with 11 additions and 2 deletions
|
@ -97,8 +97,17 @@ get_ap_security_string (NMAccessPoint *ap)
|
||||||
g_string_append_printf (str, "%s, ", _("WPA"));
|
g_string_append_printf (str, "%s, ", _("WPA"));
|
||||||
}
|
}
|
||||||
if (rsn_flags != NM_802_11_AP_SEC_NONE) {
|
if (rsn_flags != NM_802_11_AP_SEC_NONE) {
|
||||||
/* TRANSLATORS: this WPA WiFi security */
|
#if NM_CHECK_VERSION(1,20,6)
|
||||||
g_string_append_printf (str, "%s, ", _("WPA2"));
|
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) ||
|
if ((wpa_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X) ||
|
||||||
(rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X)) {
|
(rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue