diff options
| author | Michael Biebl <biebl@debian.org> | 2022-06-17 22:04:36 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-06-17 22:04:36 +0200 |
| commit | 24b6b46aab0a00e1ef111aaff05f068ec8ad3d5b (patch) | |
| tree | 473dc5914401fdf1094777b5f557da0fb0bd133c /src/core/devices/wifi | |
| parent | b3b81846241e51b3e2bfb34c1b5af385cdcdf894 (diff) | |
| parent | f7c750061dab327e638c0129cfafd5b2215b3a2e (diff) | |
Update upstream source from tag 'upstream/1.38.2'
Update to upstream version '1.38.2' with Debian dir c1f50e9f3555d9d539c7417659080741eabd1208
Diffstat (limited to 'src/core/devices/wifi')
| -rw-r--r-- | src/core/devices/wifi/nm-device-wifi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/devices/wifi/nm-device-wifi.c b/src/core/devices/wifi/nm-device-wifi.c index d83b1f35..2572213c 100644 --- a/src/core/devices/wifi/nm-device-wifi.c +++ b/src/core/devices/wifi/nm-device-wifi.c @@ -1076,8 +1076,9 @@ check_connection_compatible(NMDevice *device, NMConnection *connection, GError * if (s_wsec) { key_mgmt = nm_setting_wireless_security_get_key_mgmt(s_wsec); - if (nm_supplicant_interface_get_capability(priv->sup_iface, NM_SUPPL_CAP_TYPE_WEP) - == NM_TERNARY_FALSE + if (priv->sup_iface + && nm_supplicant_interface_get_capability(priv->sup_iface, NM_SUPPL_CAP_TYPE_WEP) + == NM_TERNARY_FALSE && NM_IN_STRSET(key_mgmt, "ieee8021x", "none")) { nm_utils_error_set_literal(error, NM_UTILS_ERROR_CONNECTION_AVAILABLE_TEMPORARY, |