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-a3cf2f4a3e73master
parent
55dc272f32
commit
de97391c61
|
@ -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;;
|
||||
|
|
Loading…
Reference in New Issue