aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files/lib/wifi/mac80211.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-09 17:36:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-09 17:36:04 +0000
commitddb6eb9d51d344d1aded75af637c0f76ba03e159 (patch)
treec2a229d913987138bea210613b350ddbc441d7ee /package/mac80211/files/lib/wifi/mac80211.sh
parent7fdbfef92f29dc77b9ea5973d232b12266f703f4 (diff)
downloadupstream-ddb6eb9d51d344d1aded75af637c0f76ba03e159.tar.gz
upstream-ddb6eb9d51d344d1aded75af637c0f76ba03e159.tar.bz2
upstream-ddb6eb9d51d344d1aded75af637c0f76ba03e159.zip
mac80211: add support for the noscan option for skipping the initial scan on hostapd startup
SVN-Revision: 20089
Diffstat (limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index dd77f79648..4d6d50f0bc 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -10,6 +10,7 @@ mac80211_hostapd_setup_base() {
config_get country "$device" country
config_get hwmode "$device" hwmode
config_get channel "$device" channel
+ config_get_bool noscan "$device" noscan
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"
[ "$channel" = auto ] && channel=
[ -n "$hwmode" ] && {
@@ -71,6 +72,7 @@ tx_queue_data0_burst=1.5
${hwmode:+hw_mode=$hwmode}
${channel:+channel=$channel}
${country:+country_code=$country}
+${noscan:+noscan=$noscan}
$base_cfg
EOF