aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-09-28 15:12:56 +0200
committerFelix Fietkau <nbd@nbd.name>2020-09-29 17:32:26 +0200
commitcba4120768a39c9ff222734dce2ced43b70bd60c (patch)
tree64a374cb866376904870efd95b737c1bdbc82014 /package/network/services/hostapd/files
parent1ed6eb176c77e8dff0004fc110af6874f535068f (diff)
downloadupstream-cba4120768a39c9ff222734dce2ced43b70bd60c.tar.gz
upstream-cba4120768a39c9ff222734dce2ced43b70bd60c.tar.bz2
upstream-cba4120768a39c9ff222734dce2ced43b70bd60c.zip
mac80211: add support for specifying a per-device scan list
This is useful to bring up multiple client mode interfaces on a single channel much faster without having to scan through a lot of channels Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/files')
-rw-r--r--package/network/services/hostapd/files/hostapd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index b33e8e1edc..3290358ed2 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -896,6 +896,7 @@ wpa_supplicant_prepare_interface() {
fi
wpa_supplicant_teardown_interface "$ifname"
cat > "$_config" <<EOF
+${scan_list:+freq_list=$scan_list}
$ap_scan
$country_str
EOF