netifd: fix mac80211.sh to respect setting of mcast_rate
authorJohn Crispin <john@openwrt.org>
Sun, 12 Jan 2014 12:07:15 +0000 (12:07 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 12 Jan 2014 12:07:15 +0000 (12:07 +0000)
commit891a6a39b373ab7f33a1932c67addf646b3b1f80
tree17872a04ddb824f416cc126f00f27589555968ee
parent260f62eaa5c191266cd18836bab2b5bbf52f269c
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
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh