From beb8e4ba7e52f20868042826ef89c89914e19a41 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 14 Jan 2014 19:35:55 +0000 Subject: [PATCH] hostapd: fix mcast_rate setting MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert Signed-off-by: Antonio Quartulli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/services/hostapd/files/netifd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0