aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Sigurdsson <public_timo.s@silentcreek.de>2021-06-15 23:12:08 +0200
committerPaul Spooren <mail@aparcar.org>2021-06-21 19:04:06 -1000
commit85ce590705072be78c3ef7dc6b64e3b1facc892b (patch)
treef30ca106ae9ab9eed7cb8d3880565a07a53ec6cb
parent9f09c1936a4a13b67fcba632f7ca02331f685359 (diff)
downloadupstream-85ce590705072be78c3ef7dc6b64e3b1facc892b.tar.gz
upstream-85ce590705072be78c3ef7dc6b64e3b1facc892b.tar.bz2
upstream-85ce590705072be78c3ef7dc6b64e3b1facc892b.zip
hostapd: fix handling of the channel utilization options
Commit 0a7657c ("hostapd: add channel utilization as config option") added the two new uci options bss_load_update_period and chan_util_avg_period. However, the corresponding "config_add_int" calls for these options weren't added, so attempting to actually use these options and change their values is bound to fail - they always stay at their defaults. Add the missing code to actually make these options work. Fixes: 0a7657c ("hostapd: add channel utilization as config option") Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 060199fa0c..b9409c8ca3 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -263,6 +263,8 @@ hostapd_common_add_bss_config() {
config_add_int acct_port
config_add_int acct_interval
+ config_add_int bss_load_update_period chan_util_avg_period
+
config_add_string dae_client
config_add_string dae_secret
config_add_int dae_port