summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-01-28 21:12:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-01-28 21:12:36 +0000
commitc1cb867c137c344f55f92de4dc1cfa982a760a07 (patch)
tree320369823d9884e65128b2aee40979e7ac255145 /package/network
parenta558bb44713ce101973043c9e2805743771e8340 (diff)
downloadmtk-20170518-c1cb867c137c344f55f92de4dc1cfa982a760a07.zip
mtk-20170518-c1cb867c137c344f55f92de4dc1cfa982a760a07.tar.gz
mtk-20170518-c1cb867c137c344f55f92de4dc1cfa982a760a07.tar.bz2
hostapd: Fix basic_rate setup with netifd
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 39411
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/files/netifd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index 930755f..43cc99b 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -69,6 +69,7 @@ hostapd_prepare_device_config() {
[ -n "$hwmode" ] && append base_cfg "hw_mode=$hwmode" "$N"
local brlist= br
+ json_get_values basic_rate_list basic_rate
for br in $basic_rate_list; do
hostapd_add_rate brlist "$br"
done