diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-08 16:44:38 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-09 16:15:51 +0100 |
commit | 6e77f51b3aefa6bc6a9abbc5e911c172850c4d54 (patch) | |
tree | 538bf89a25700deb3ac16bb32720f02ff0bdd1e9 | |
parent | bb2b55f3767ad02d8de8c9255cdf2573689a7b26 (diff) | |
download | upstream-6e77f51b3aefa6bc6a9abbc5e911c172850c4d54.tar.gz upstream-6e77f51b3aefa6bc6a9abbc5e911c172850c4d54.tar.bz2 upstream-6e77f51b3aefa6bc6a9abbc5e911c172850c4d54.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)
[ rework for openwrt-22.03 ]
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 4 |
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 ] && { |