diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-09 17:36:04 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-09 17:36:04 +0000 |
commit | 6bcc6634022213a80cd4302c2a9822ace3d55f24 (patch) | |
tree | ec7ec73677739717e33d808713054bd274320a44 | |
parent | bc233ef4904edbd646be4f8aa99d3a4fdc003af6 (diff) |
mac80211: add support for the noscan option for skipping the initial scan on hostapd startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20089 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
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 dd77f7964..4d6d50f0b 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 |