Skip to content
Snippets Groups Projects
Commit 6106bdd0 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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


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

SVN-Revision: 39450
parent 1d9a9868
No related branches found
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ mac80211_setup_supplicant() { ...@@ -241,7 +241,7 @@ mac80211_setup_supplicant() {
} }
mac80211_setup_adhoc() { mac80211_setup_adhoc() {
json_get_vars bssid ssid basic_rate key mcast_rate json_get_vars bssid ssid key mcast_rate
keyspec= keyspec=
[ "$auth_type" == "wep" ] && { [ "$auth_type" == "wep" ] && {
...@@ -266,7 +266,7 @@ mac80211_setup_adhoc() { ...@@ -266,7 +266,7 @@ mac80211_setup_adhoc() {
} }
brstr= brstr=
for br in $basic_rate; do for br in $basic_rate_list; do
hostapd_add_rate brstr "$br" hostapd_add_rate brstr "$br"
done done
...@@ -352,6 +352,7 @@ drv_mac80211_setup() { ...@@ -352,6 +352,7 @@ drv_mac80211_setup() {
txpower antenna_gain \ txpower antenna_gain \
rxantenna txantenna \ rxantenna txantenna \
frag rts beacon_int frag rts beacon_int
json_get_values basic_rate_list basic_rate
json_select .. json_select ..
find_phy || { find_phy || {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment