Hi,

looking at the code i wonder if this is a actual bug fix or just a cleanup ?!

does the code behave different before and after the patch ?

        John


On 13/01/14 10:45, Antonio Quartulli wrote:
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert<r.vanwe...@sowifi.com>
Signed-off-by: Antonio Quartulli<anto...@meshcoding.com>
---
  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 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
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to