Leon M. George d5bbd4975c hostapd: fix setting wps_state to "not configured"
With encryption disabled, it was intended to set wpa_state=1 (enabled,
not configured) through the 'wps_not_configured' flag.
The flag is set appropriately but the condition using it is broken.
Instead, 'wps_configured' is checked and wpa_state is always 2 (enabled,
configured). Fix it by using the correct variable name.

Fixes: 498d84fc4e00 ("netifd: add wireless configuration support
and port mac80211 to the new framework")

Signed-off-by: Leon M. George <leon@georgemail.eu>
[commit title/message improvements]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-15 18:17:45 +01:00
..
2020-11-11 20:47:34 +01:00
2020-12-11 13:48:24 +01:00
2020-01-05 19:36:46 +01:00
2020-06-23 20:00:16 +02:00
2020-12-09 12:36:40 +01:00
2021-01-04 08:01:16 +01:00
2021-01-01 19:55:59 +01:00
2020-04-26 13:00:36 +01:00
2020-11-30 10:38:13 +00:00
2020-11-12 13:28:38 +01:00