diff options
author | John Crispin <blogic@openwrt.org> | 2014-01-12 12:07:15 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-01-12 12:07:15 +0000 |
commit | 589282a05c1ae866680929f013c133f7186851c5 (patch) | |
tree | 17872a04ddb824f416cc126f00f27589555968ee /package/kernel | |
parent | f5325b8a0cc861979e60147c75e53d815adc1db1 (diff) | |
download | master-187ad058-589282a05c1ae866680929f013c133f7186851c5.tar.gz master-187ad058-589282a05c1ae866680929f013c133f7186851c5.tar.bz2 master-187ad058-589282a05c1ae866680929f013c133f7186851c5.zip |
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
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 12c256ebaa..1896fe06c3 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -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" ] && { |