mac80211: add support for the noscan option for skipping the initial scan on hostapd...
authorFelix Fietkau <nbd@openwrt.org>
Tue, 9 Mar 2010 17:36:04 +0000 (17:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 9 Mar 2010 17:36:04 +0000 (17:36 +0000)
SVN-Revision: 20089

package/mac80211/files/lib/wifi/mac80211.sh

index dd77f79648ed604e5cc0539328207d30f1b56dbe..4d6d50f0bc6534ab2da1e10bfe4dda036dae5b5a 100644 (file)
@@ -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