[network-manager-applet: 2/3] ap-menu-item: add OWE as supported security type
- From: Beniamino Galvani <bgalvani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet: 2/3] ap-menu-item: add OWE as supported security type
- Date: Tue, 9 Jun 2020 16:19:14 +0000 (UTC)
commit c948291f0b1e47adc157c4ccf58216480bf47f47
Author: David Bauer <mail david-bauer net>
Date: Wed May 27 18:07:49 2020 +0200
ap-menu-item: add OWE as supported security type
src/ap-menu-item.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/ap-menu-item.c b/src/ap-menu-item.c
index 0f4c3cbd..c1582958 100644
--- a/src/ap-menu-item.c
+++ b/src/ap-menu-item.c
@@ -294,6 +294,9 @@ nm_network_menu_item_new (NMAccessPoint *ap,
&& !nm_utils_security_valid (NMU_SEC_WPA2_PSK, dev_caps, TRUE, priv->is_adhoc, ap_flags, ap_wpa,
ap_rsn)
&& !nm_utils_security_valid (NMU_SEC_WPA_ENTERPRISE, dev_caps, TRUE, priv->is_adhoc, ap_flags,
ap_wpa, ap_rsn)
&& !nm_utils_security_valid (NMU_SEC_WPA2_ENTERPRISE, dev_caps, TRUE, priv->is_adhoc, ap_flags,
ap_wpa, ap_rsn)
+#if NM_CHECK_VERSION(1,24,0)
+ && !nm_utils_security_valid (NMU_SEC_OWE, dev_caps, TRUE, priv->is_adhoc, ap_flags, ap_wpa,
ap_rsn)
+#endif
&& !nm_utils_security_valid (NMU_SEC_SAE, dev_caps, TRUE, priv->is_adhoc, ap_flags, ap_wpa,
ap_rsn)) {
gtk_widget_set_sensitive (GTK_WIDGET (item), FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]