aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-05 13:19:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-05 13:19:20 +0000
commitb898695bdd3ed4b41703a665f69e8631c0bb1a3e (patch)
treef5739af00a87d5fe436480cfdd44a2e092e30011 /package/kernel/mac80211
parent5e6f099edb52e78504bfaaed37259c615a70d8b2 (diff)
downloadupstream-b898695bdd3ed4b41703a665f69e8631c0bb1a3e.tar.gz
upstream-b898695bdd3ed4b41703a665f69e8631c0bb1a3e.tar.bz2
upstream-b898695bdd3ed4b41703a665f69e8631c0bb1a3e.zip
mac80211: fix ad-hoc basic/multicast rate regression from r43782
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43853
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 3a7ad3b142..c7935b567f 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -517,11 +517,11 @@ mac80211_setup_adhoc() {
brstr=
for br in $basic_rate_list; do
- hostapd_add_rate brstr "$br"
+ wpa_supplicant_add_rate brstr "$br"
done
mcval=
- [ -n "$mcast_rate" ] && hostapd_add_rate mcval "$mcast_rate"
+ [ -n "$mcast_rate" ] && wpa_supplicant_add_rate mcval "$mcast_rate"
case "$htmode" in
VHT20|HT20) ibss_htmode=HT20;;