mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -10,6 +10,7 @@ mac80211_hostapd_setup_base() {
|
|||||||
config_get country "$device" country
|
config_get country "$device" country
|
||||||
config_get hwmode "$device" hwmode
|
config_get hwmode "$device" hwmode
|
||||||
config_get channel "$device" channel
|
config_get channel "$device" channel
|
||||||
|
config_get_bool noscan "$device" noscan
|
||||||
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"
|
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"
|
||||||
[ "$channel" = auto ] && channel=
|
[ "$channel" = auto ] && channel=
|
||||||
[ -n "$hwmode" ] && {
|
[ -n "$hwmode" ] && {
|
||||||
@@ -71,6 +72,7 @@ tx_queue_data0_burst=1.5
|
|||||||
${hwmode:+hw_mode=$hwmode}
|
${hwmode:+hw_mode=$hwmode}
|
||||||
${channel:+channel=$channel}
|
${channel:+channel=$channel}
|
||||||
${country:+country_code=$country}
|
${country:+country_code=$country}
|
||||||
|
${noscan:+noscan=$noscan}
|
||||||
$base_cfg
|
$base_cfg
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user