mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 04:50:07 +01:00
wifi/ap: recognize FT variants of wpa-psk and wpa-eap
This commit is contained in:
parent
ff94b445a5
commit
bbdb978dc6
1 changed files with 3 additions and 1 deletions
|
|
@ -417,9 +417,11 @@ security_from_vardict (GVariant *security)
|
|||
|
||||
if ( g_variant_lookup (security, "KeyMgmt", "^a&s", &array)
|
||||
&& array) {
|
||||
if (g_strv_contains (array, "wpa-psk"))
|
||||
if (g_strv_contains (array, "wpa-psk") ||
|
||||
g_strv_contains (array, "wpa-ft-psk"))
|
||||
flags |= NM_802_11_AP_SEC_KEY_MGMT_PSK;
|
||||
if (g_strv_contains (array, "wpa-eap") ||
|
||||
g_strv_contains (array, "wpa-ft-eap") ||
|
||||
g_strv_contains (array, "wpa-fils-sha256") ||
|
||||
g_strv_contains (array, "wpa-fils-sha384"))
|
||||
flags |= NM_802_11_AP_SEC_KEY_MGMT_802_1X;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue