summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-01-14 19:35:55 +0000
committerJohn Crispin <john@openwrt.org>2014-01-14 19:35:55 +0000
commit4ae2d6f2936295caa3f51b8a918a8baee5d9975f (patch)
tree2ae20af2aca557671a3890c438c23aabd610be14 /package/network
parent795db05efb56450a6b3678639e37c00acd41c875 (diff)
downloadmtk-20170518-4ae2d6f2936295caa3f51b8a918a8baee5d9975f.zip
mtk-20170518-4ae2d6f2936295caa3f51b8a918a8baee5d9975f.tar.gz
mtk-20170518-4ae2d6f2936295caa3f51b8a918a8baee5d9975f.tar.bz2
hostapd: fix mcast_rate setting
Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <r.vanweert@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> SVN-Revision: 39288
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/files/netifd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index b2c437d..930755f 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -537,7 +537,7 @@ wpa_supplicant_add_network() {
[ -n "$mcast_rate" ] && {
local mc_rate=
hostapd_add_rate mc_rate "$mcast_rate"
- [ -n "$mcast_rate" ] && append network_data "mcast_rate=$mcast_rate" "$N$T"
+ append network_data "mcast_rate=$mc_rate" "$N$T"
}
local ht_str