netifd: fix mac80211.sh to respect setting of mcast_rate

This patch fixes a bug in /lib/netifd/wireless/mac80211.sh, where
the UCI setting of wireless multicast traffic (in uci: mcast_rate)
is not respected within netifd. Especially in Freifunk mesh networks
the olsr routing as effected by this, as only the lowest mcast_rate
was used, even when uci ncast_rate was set to something else.
In function mac80211_setup_adhoc() the value of mcast_rate is missing
in json_get_vars.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>

SVN-Revision: 39232
v19.07.3_mercusys_ac12_duma
John Crispin 11 years ago
parent 2f9048d8d3
commit c1a2a87f3a

@ -241,7 +241,7 @@ mac80211_setup_supplicant() {
}
mac80211_setup_adhoc() {
json_get_vars bssid ssid basic_rate key
json_get_vars bssid ssid basic_rate key mcast_rate
keyspec=
[ "$auth_type" == "wep" ] && {

Loading…
Cancel
Save