netifd: fix mac80211.sh to respect setting of mcast_rate
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jan 2014 12:07:15 +0000 (12:07 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jan 2014 12:07:15 +0000 (12:07 +0000)
commit269c26496214d01c7dee526c364e638f8bea4ab6
tree17872a04ddb824f416cc126f00f27589555968ee
parent9bada151846d969efb5465d44fcf19101d6b77d2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39232 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh