From: Felix Fietkau Date: Mon, 5 Jan 2015 13:19:20 +0000 (+0000) Subject: mac80211: fix ad-hoc basic/multicast rate regression from r43782 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b898695bdd3ed4b41703a665f69e8631c0bb1a3e;p=openwrt%2Fstaging%2Faparcar.git mac80211: fix ad-hoc basic/multicast rate regression from r43782 Signed-off-by: Felix Fietkau SVN-Revision: 43853 --- 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;;