1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 06:28:12 +02:00
openwrt/package/network
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
..
config netifd: update to git HEAD 2021-01-05 02:16:24 +00:00
ipv6 odhcp6c: update to git HEAD 2020-12-30 20:20:06 +01:00
services hostapd: fix setting wps_state to "not configured" 2021-01-15 18:17:45 +01:00
utils owipcalc: use v6 in cidr_parse6 function 2021-01-15 17:40:27 +01:00