From c1a2a87f3ab0950e60d6fce90e8d34b64b56f82d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 12 Jan 2014 12:07:15 +0000 Subject: [PATCH] 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 SVN-Revision: 39232 --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ] && { -- 2.25.1