diff options
author | Thomas Haller <thaller@redhat.com> | 2021-01-18 08:32:59 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-01-18 09:27:32 +0100 |
commit | 1d04770002f32d922f71e1bc6c57c96a25ba8fbd (patch) | |
tree | 4c72b760fc9a7ac75cd979a8b813b09aefeb6830 /src/supplicant/nm-supplicant-interface.c | |
parent | a326c3011063e3d7e78e81e566aa98ebeb14a8a6 (diff) |
wifi: fix caching ap-flags for supplicant-interface
Fixes: b83f07916a54 ('supplicant: large rework of wpa_supplicant handling')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/631
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.c')
-rw-r--r-- | src/supplicant/nm-supplicant-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplicant/nm-supplicant-interface.c b/src/supplicant/nm-supplicant-interface.c index 18d571f755..ec278c31fc 100644 --- a/src/supplicant/nm-supplicant-interface.c +++ b/src/supplicant/nm-supplicant-interface.c @@ -585,7 +585,7 @@ _bss_info_properties_changed(NMSupplicantInterface *self, if (v_v) { if (g_variant_lookup(v_v, "Type", "&s", &v_s)) { - p_ap_flags = NM_802_11_AP_FLAGS_WPS; + f = NM_802_11_AP_FLAGS_WPS; if (nm_streq(v_s, "pcb")) f |= NM_802_11_AP_FLAGS_WPS_PBC; else if (nm_streq(v_s, "pin")) |