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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43853 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2015-01-05 13:19:20 +00:00
parent 55dc272f32
commit de97391c61
1 changed files with 2 additions and 2 deletions

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