hostapd: fix mcast_rate setting
authorJohn Crispin <[email protected]>
Tue, 14 Jan 2014 19:35:55 +0000 (19:35 +0000)
committerJohn Crispin <[email protected]>
Tue, 14 Jan 2014 19:35:55 +0000 (19:35 +0000)
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: RenĂ© van Weert <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
SVN-Revision: 39288

package/network/services/hostapd/files/netifd.sh

index b2c437d8243f9c8404e6885380687ed328ba2a47..930755ffb50c830054d743d1f317fdf32bf3795a 100644 (file)
@@ -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