[openwrt/openwrt] hostapd: fix per-BSS airtime configuration
LEDE Commits
lede-commits at lists.infradead.org
Tue Nov 17 11:08:05 EST 2020
blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/03cdeb5f97f82d4be34e3545efa47c0b9aa0fc05
commit 03cdeb5f97f82d4be34e3545efa47c0b9aa0fc05
Author: Dobroslaw Kijowski <dobo90 at gmail.com>
AuthorDate: Mon Nov 16 20:21:46 2020 +0100
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 <dobo90 at gmail.com>
---
package/network/services/hostapd/Makefile | 2 +-
package/network/services/hostapd/files/hostapd.sh | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
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
}
More information about the lede-commits
mailing list