mac80211: fix basic rate list processing in ad-hoc mode

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

SVN-Revision: 39450
This commit is contained in:
Felix Fietkau 2014-02-02 14:25:09 +00:00
parent 1d9a98689d
commit 6106bdd002

View File

@ -241,7 +241,7 @@ mac80211_setup_supplicant() {
}
mac80211_setup_adhoc() {
json_get_vars bssid ssid basic_rate key mcast_rate
json_get_vars bssid ssid key mcast_rate
keyspec=
[ "$auth_type" == "wep" ] && {
@ -266,7 +266,7 @@ mac80211_setup_adhoc() {
}
brstr=
for br in $basic_rate; do
for br in $basic_rate_list; do
hostapd_add_rate brstr "$br"
done
@ -352,6 +352,7 @@ drv_mac80211_setup() {
txpower antenna_gain \
rxantenna txantenna \
frag rts beacon_int
json_get_values basic_rate_list basic_rate
json_select ..
find_phy || {