From: John Crispin Date: Tue, 14 Jan 2014 19:35:55 +0000 (+0000) Subject: hostapd: fix mcast_rate setting X-Git-Tag: reboot~8181 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4ae2d6f2936295caa3f51b8a918a8baee5d9975f;p=openwrt%2Fstaging%2Fchunkeey.git hostapd: fix mcast_rate setting Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert Signed-off-by: Antonio Quartulli SVN-Revision: 39288 --- 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