openwrt/package/network/services/hostapd
Leon M. George 166b93d58a 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>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:28 +00:00
..
files hostapd: fix setting wps_state to "not configured" 2021-09-01 08:07:28 +00:00
patches hostapd: fix patch offset 2021-09-01 08:07:13 +00:00
src hostapd: return PID on config_add call 2021-09-01 08:07:27 +00:00
Config.in treewide: nuke DRIVER_11W_SUPPORT 2021-09-01 08:07:24 +00:00
Makefile hostapd: fix setting wps_state to "not configured" 2021-09-01 08:07:28 +00:00