mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 05:10:09 +01:00
wifi: fix WPS PBC string typo
Fixes: b83f07916a ('supplicant: large rework of wpa_supplicant handling')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/845
This commit is contained in:
parent
661934e48e
commit
3839db5191
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue