about summary refs log tree commit diff
path: root/src/nmcli/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nmcli/devices.c')
-rw-r--r--src/nmcli/devices.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nmcli/devices.c b/src/nmcli/devices.c
index 6fce9de7..be51731f 100644
--- a/src/nmcli/devices.c
+++ b/src/nmcli/devices.c
@@ -1343,9 +1343,10 @@ fill_output_access_point(NMAccessPoint *ap, const APInfo *info)
         if (rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_SAE) {
             g_string_append(security_str, "WPA3 ");
         }
-        if (NM_FLAGS_ANY(rsn_flags,
-                         NM_802_11_AP_SEC_KEY_MGMT_OWE | NM_802_11_AP_SEC_KEY_MGMT_OWE_TM)) {
+        if (NM_FLAGS_ANY(rsn_flags, NM_802_11_AP_SEC_KEY_MGMT_OWE)) {
             g_string_append(security_str, "OWE ");
+        } else if (NM_FLAGS_ANY(rsn_flags, NM_802_11_AP_SEC_KEY_MGMT_OWE_TM)) {
+            g_string_append(security_str, "OWE-TM ");
         }
         if ((wpa_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X)
             || (rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X)) {