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)
commitc1a2a87f3ab0950e60d6fce90e8d34b64b56f82d
treeb63df5f9fa3f9e079e1136efe3c7ca50af363204
parent2f9048d8d38a7747f1bb3b7be7509b5e8d7132c2
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