diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-02 08:39:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-02 08:39:19 +0000 |
commit | ced63a693f3a9688277738fa6f2c3cb01167a253 (patch) | |
tree | 5e02acac3968c4f305b48db158647be99b42c93a /package/network/services/hostapd/files/netifd.sh | |
parent | 6b7c96dad30a215a5a4c774c5c62a2129c93c9d0 (diff) | |
download | master-187ad058-ced63a693f3a9688277738fa6f2c3cb01167a253.tar.gz master-187ad058-ced63a693f3a9688277738fa6f2c3cb01167a253.tar.bz2 master-187ad058-ced63a693f3a9688277738fa6f2c3cb01167a253.zip |
hostapd: add a new option to control HT coexistance separate from noscan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45873 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd/files/netifd.sh')
-rw-r--r-- | package/network/services/hostapd/files/netifd.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 23d2e7e83e..3647b2907f 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 + config_add_boolean country_ie doth ht_coex config_add_string require_mode hostapd_add_log_config @@ -65,13 +65,15 @@ hostapd_prepare_device_config() { local base="${config%%.conf}" local base_cfg= - json_get_vars country country_ie beacon_int doth require_mode + json_get_vars country country_ie beacon_int doth require_mode ht_coex 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" |