diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-06 23:09:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-06 23:09:43 +0000 |
commit | b9fe1e1b45db570cb979238b63cdcbf3324efbd3 (patch) | |
tree | 9ec2697a17ba8f62017d7d3c1b69ef1ef9675915 /package/network | |
parent | 9e72ab22a07aa358b8ffe4ef552b0077000e3426 (diff) | |
download | master-187ad058-b9fe1e1b45db570cb979238b63cdcbf3324efbd3.tar.gz master-187ad058-b9fe1e1b45db570cb979238b63cdcbf3324efbd3.tar.bz2 master-187ad058-b9fe1e1b45db570cb979238b63cdcbf3324efbd3.zip |
hostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45917 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/services/hostapd/files/netifd.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 3647b2907f..23d2e7e83e 100644 --- a/package/network/services/hostapd/files/netifd.sh +++ b/package/network/services/hostapd/files/netifd.sh @@ -52,7 +52,7 @@ hostapd_common_add_device_config() { config_add_array supported_rates config_add_string country - config_add_boolean country_ie doth ht_coex + config_add_boolean country_ie doth config_add_string require_mode hostapd_add_log_config @@ -65,15 +65,13 @@ hostapd_prepare_device_config() { local base="${config%%.conf}" local base_cfg= - json_get_vars country country_ie beacon_int doth require_mode ht_coex + json_get_vars country country_ie beacon_int doth require_mode hostapd_set_log_options base_cfg set_default country_ie 1 set_default doth 1 - set_default ht_coex 0 - append base_cfg "ht_coex=$ht_coex" "$N" [ -n "$country" ] && { append base_cfg "country_code=$country" "$N" |