summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorAntonio Cardace <acardace@redhat.com>2020-12-15 19:05:11 +0100
committerAntonio Cardace <acardace@redhat.com>2020-12-22 18:28:56 +0100
commite874ccc9177c32ef8e19e094a2ddcec32b3b71e1 (patch)
tree99950f66fc8cb2b84d704b9febb5e3756e9dee3c /libnm
parent2fa8ef9fb9c7fe0cc2d9523eed6c5a3749b05175 (diff)
downloadNetworkManager-e874ccc9177c32ef8e19e094a2ddcec32b3b71e1.tar.gz
wifi: add WPA-EAP-SUITE-B-192 supportac/wpa3eap_suiteb192
Add a new key management option to support WPA3 Enteprise wifi connection. Only supported with wpa_supplicant for the time being. Signed-off-by: Antonio Cardace <acardace@redhat.com>
Diffstat (limited to 'libnm')
-rw-r--r--libnm/nm-device-wifi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnm/nm-device-wifi.c b/libnm/nm-device-wifi.c
index df7d26316d..408d1a56f9 100644
--- a/libnm/nm-device-wifi.c
+++ b/libnm/nm-device-wifi.c
@@ -496,7 +496,8 @@ connection_compatible(NMDevice *device, NMConnection *connection, GError **error
if (s_wsec) {
/* Connection has security, verify it against the device's capabilities */
key_mgmt = nm_setting_wireless_security_get_key_mgmt(s_wsec);
- if (!g_strcmp0(key_mgmt, "wpa-psk") || !g_strcmp0(key_mgmt, "wpa-eap")) {
+ if (nm_streq(key_mgmt, "wpa-psk") || nm_streq(key_mgmt, "wpa-eap")
+ || nm_streq(key_mgmt, "wpa-eap-suite-b-192")) {
wifi_caps = nm_device_wifi_get_capabilities(NM_DEVICE_WIFI(device));
/* Is device only WEP capable? */