mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 22:40:46 +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 (cherry picked from commit3839db5191) (cherry picked from commit79b2105759)
This commit is contained in:
parent
76dcf7306e
commit
02ff08b107
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,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