hostapd: fix handling of the channel utilization options
Commit0a7657c("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> (cherry picked from commit85ce590705)
This commit is contained in:
committed by
Paul Spooren
parent
1247a6bb35
commit
82c700de67
@@ -251,6 +251,8 @@ hostapd_common_add_bss_config() {
|
|||||||
config_add_int acct_port
|
config_add_int acct_port
|
||||||
config_add_int acct_interval
|
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_client
|
||||||
config_add_string dae_secret
|
config_add_string dae_secret
|
||||||
config_add_int dae_port
|
config_add_int dae_port
|
||||||
|
|||||||
Reference in New Issue
Block a user