diff options
author | David Bauer <mail@david-bauer.net> | 2022-06-16 19:59:01 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-06-17 19:50:40 +0200 |
commit | 02e35f5b205445435f293eae959b7a4435b7d807 (patch) | |
tree | 8931198a87a05188b588cb9e07c2c491de24b2eb | |
parent | 21a19383c8ecc3a2e978da7dcd373b5ea57cdfa8 (diff) | |
download | NetworkManager-02e35f5b205445435f293eae959b7a4435b7d807.tar.gz |
nmcli: distinguish OWE-TM from OWE BSS
Distinguish a OWE-TM enabled BSS (which itself is unencrypted) from the
OWE BSS actually employing encryption.
Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r-- | src/nmcli/devices.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nmcli/devices.c b/src/nmcli/devices.c index 6fce9de731..be51731f6e 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)) { |