mac80211: fix ad-hoc basic/multicast rate regression from r43782

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43853
This commit is contained in:
Felix Fietkau 2015-01-05 13:19:20 +00:00
parent 5e6f099edb
commit b898695bdd

View 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;;