From 4ae2d6f2936295caa3f51b8a918a8baee5d9975f Mon Sep 17 00:00:00 2001 From: John Crispin 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 SVN-Revision: 39288 --- 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.25.1