aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-11-08 16:44:38 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-09 16:10:25 +0100
commit2ef625e7696058208e129087d155ce65b10a3109 (patch)
tree13fd7565a60a3257c6bcff8fc7188e6cd95da7c8
parent5106f554bb9324be88c9bfb8bc2105ce098f359c (diff)
downloadupstream-2ef625e7696058208e129087d155ce65b10a3109.tar.gz
upstream-2ef625e7696058208e129087d155ce65b10a3109.tar.bz2
upstream-2ef625e7696058208e129087d155ce65b10a3109.zip
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> (cherry picked from commit 1070fbce6e496da2dacf17c6e842a4369c4be71b)
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 860609305f..1bf4db6e5f 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -940,7 +940,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
wpa_supplicant_add_interface "$ifname" "$mode"