aboutsummaryrefslogtreecommitdiffstats
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
parent795db05efb56450a6b3678639e37c00acd41c875 (diff)
downloadupstream-4ae2d6f2936295caa3f51b8a918a8baee5d9975f.tar.gz
upstream-4ae2d6f2936295caa3f51b8a918a8baee5d9975f.tar.bz2
upstream-4ae2d6f2936295caa3f51b8a918a8baee5d9975f.zip
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
-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 b2c437d824..930755ffb5 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