Răsfoiți Sursa

hostapd: fix mcast_rate setting

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
John Crispin 12 ani în urmă
părinte
comite
4ae2d6f293
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      package/network/services/hostapd/files/netifd.sh

+ 1 - 1
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