mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
mac80211: fix not set noscan option for wpa_supplicant
noscan option was changed to hostapd_noscan but the entry in wpa_supplicant was never updated resulting in the noscan option actually never set. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
eea264fead
commit
1070fbce6e
@ -940,7 +940,7 @@ mac80211_setup_supplicant() {
|
|||||||
if [ "$mode" = "sta" ]; then
|
if [ "$mode" = "sta" ]; then
|
||||||
wpa_supplicant_add_network "$ifname"
|
wpa_supplicant_add_network "$ifname"
|
||||||
else
|
else
|
||||||
wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$noscan"
|
wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$hostapd_noscan"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wpa_supplicant_add_interface "$ifname" "$mode"
|
wpa_supplicant_add_interface "$ifname" "$mode"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user