ImmortalWrt/package/network/services/hostapd
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: 498d84fc4e ("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
..
files hostapd: fix setting wps_state to "not configured" 2021-01-15 18:17:45 +01:00
patches hostapd: fix patch offset 2020-11-23 22:53:15 +01:00
src hostapd: return PID on config_add call 2021-01-10 19:15:51 +00:00
Config.in treewide: nuke DRIVER_11W_SUPPORT 2020-12-23 16:36:08 +01:00
Makefile hostapd: fix setting wps_state to "not configured" 2021-01-15 18:17:45 +01:00