aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 5fda6d1739..3b5071518c 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -753,7 +753,7 @@ mac80211_setup_supplicant() {
if [ "$mode" = "sta" ]; then
wpa_supplicant_add_network "$ifname"
else
- wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$noscan"
+ wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$hostapd_noscan"
fi
NEWSPLIST="${NEWSPLIST}$ifname "
@@ -783,7 +783,7 @@ mac80211_setup_supplicant_noctl() {
return 1
}
- wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$noscan"
+ wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$hostapd_noscan"
NEWSPLIST="${NEWSPLIST}$ifname "
[ "$enable" = 0 ] && {