diff options
author | Wade Berrier <wberrier@gmail.com> | 2021-05-07 14:57:37 -0600 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-05-09 21:19:42 +0200 |
commit | 3839db5191fe6dc9995e647da8d1db358005bf88 (patch) | |
tree | f469902e2e9876424a094946ee8050c8c2155bf2 | |
parent | 661934e48eb6e8f63e41ee0e010bcc8586aeafe6 (diff) |
wifi: fix WPS PBC string typo
Fixes: b83f07916a54 ('supplicant: large rework of wpa_supplicant handling')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/845
-rw-r--r-- | src/core/supplicant/nm-supplicant-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/supplicant/nm-supplicant-interface.c b/src/core/supplicant/nm-supplicant-interface.c index bbd7288e81..8d69a2f67a 100644 --- a/src/core/supplicant/nm-supplicant-interface.c +++ b/src/core/supplicant/nm-supplicant-interface.c @@ -590,7 +590,7 @@ _bss_info_properties_changed(NMSupplicantInterface *self, if (v_v) { if (g_variant_lookup(v_v, "Type", "&s", &v_s)) { f = NM_802_11_AP_FLAGS_WPS; - if (nm_streq(v_s, "pcb")) + if (nm_streq(v_s, "pbc")) f |= NM_802_11_AP_FLAGS_WPS_PBC; else if (nm_streq(v_s, "pin")) f |= NM_802_11_AP_FLAGS_WPS_PIN; |