hostapd: fix handling of the channel utilization options
authorTimo Sigurdsson <public_timo.s@silentcreek.de>
Tue, 15 Jun 2021 21:12:08 +0000 (23:12 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 22 Jun 2021 19:54:58 +0000 (09:54 -1000)
commit82c700de67dc03bb71a739e1b40f08d84ea24e5d
treec9f8b3558ebc5decb12de06784b8e8f32d37d575
parent1247a6bb358845c7526581730992bc0d8fa29244
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>
(cherry picked from commit 85ce590705072be78c3ef7dc6b64e3b1facc892b)
package/network/services/hostapd/files/hostapd.sh