mac80211: fix ad-hoc basic/multicast rate regression from r43782
authorFelix Fietkau <nbd@openwrt.org>
Mon, 5 Jan 2015 13:19:20 +0000 (13:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 5 Jan 2015 13:19:20 +0000 (13:19 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43853

package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index 3a7ad3b142053cab92a2dc57ab2c6be7b5613d83..c7935b567fcbccae54c1bc45e03ca4920f069d0e 100644 (file)
@@ -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;;