mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 13:38:43 +02:00
wifi/utils: complete key-mgmt=owe for OWE capable APs
This commit is contained in:
parent
235cb4a5d3
commit
9a2bbbbc7a
1 changed files with 6 additions and 0 deletions
|
|
@ -759,6 +759,12 @@ nm_wifi_utils_complete_connection (GBytes *ap_ssid,
|
||||||
NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, "sae",
|
NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, "sae",
|
||||||
NM_SETTING_WIRELESS_SECURITY_AUTH_ALG, "open",
|
NM_SETTING_WIRELESS_SECURITY_AUTH_ALG, "open",
|
||||||
NULL);
|
NULL);
|
||||||
|
} else if ( (key_mgmt && !strcmp (key_mgmt, "owe"))
|
||||||
|
|| (ap_rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_OWE)) {
|
||||||
|
g_object_set (s_wsec,
|
||||||
|
NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, "owe",
|
||||||
|
NM_SETTING_WIRELESS_SECURITY_AUTH_ALG, "open",
|
||||||
|
NULL);
|
||||||
} else if ( (key_mgmt && !strcmp (key_mgmt, "wpa-psk"))
|
} else if ( (key_mgmt && !strcmp (key_mgmt, "wpa-psk"))
|
||||||
|| (ap_wpa_flags & NM_802_11_AP_SEC_KEY_MGMT_PSK)
|
|| (ap_wpa_flags & NM_802_11_AP_SEC_KEY_MGMT_PSK)
|
||||||
|| (ap_rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_PSK)) {
|
|| (ap_rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_PSK)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue