openwrt/package/network/services/hostapd/files
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
..
hostapd-basic.config hostapd: enable the epoll-based event loop 2020-11-23 03:02:21 +00:00
hostapd-full.config hostapd: enable the epoll-based event loop 2020-11-23 03:02:21 +00:00
hostapd-mini.config hostapd: enable the epoll-based event loop 2020-11-23 03:02:21 +00:00
hostapd.sh hostapd: fix setting wps_state to "not configured" 2021-01-15 18:17:45 +01:00
multicall.c
wpa_supplicant-basic.config hostapd: enable the epoll-based event loop 2020-11-23 03:02:21 +00:00
wpa_supplicant-full.config hostapd: enable the epoll-based event loop 2020-11-23 03:02:21 +00:00
wpa_supplicant-mini.config hostapd: enable the epoll-based event loop 2020-11-23 03:02:21 +00:00
wpa_supplicant-p2p.config hostapd: enable the epoll-based event loop 2020-11-23 03:02:21 +00:00
wpad_acl.json hostapd: run as user 'network' if procd-ujail is installed 2021-01-14 00:52:50 +00:00
wpad.init hostapd: run as user 'network' if procd-ujail is installed 2021-01-14 00:52:50 +00:00
wpad.json hostapd: run as user 'network' if procd-ujail is installed 2021-01-14 00:52:50 +00:00
wps-hotplug.sh hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00