From: Dobroslaw Kijowski Date: Mon, 16 Nov 2020 19:21:46 +0000 (+0100) Subject: hostapd: fix per-BSS airtime configuration X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=03cdeb5f97f82d4be34e3545efa47c0b9aa0fc05;p=openwrt%2Fstaging%2Fdangole.git hostapd: fix per-BSS airtime configuration airtime_mode is always parsed as an empty string since it hasn't been added into hostapd_common_add_device_config function. Fixes: e289f183 ("hostapd: add support for per-BSS airtime configuration") Signed-off-by: Dobroslaw Kijowski --- diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 8c884386f2..9a8a74ced9 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_RELEASE:=14 +PKG_RELEASE:=15 PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_PROTO:=git diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 3dbb983170..8a07e4d52b 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -102,6 +102,8 @@ hostapd_common_add_device_config() { config_add_string acs_chan_bias config_add_array hostapd_options + config_add_int airtime_mode + hostapd_add_log_config }