openwrt/package/network
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
..
config netifd: update to git HEAD 2021-09-01 08:07:26 +00:00
ipv6 odhcp6c: update to git HEAD 2021-09-01 08:07:25 +00:00
services hostapd: fix setting wps_state to "not configured" 2021-09-01 08:07:28 +00:00
utils owipcalc: use v6 in cidr_parse6 function 2021-09-01 08:07:28 +00:00