aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-27 16:00:02 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-27 16:00:02 +0000
commit0b6231764c2a4c75543624ada8920b8e888d9187 (patch)
treef566d88d08d33fb941a8877c83e1fda1f5ee382c /package/mac80211
parentc82aa42db64cfc166a1aa5236674acdfce9ae22b (diff)
downloadmaster-187ad058-0b6231764c2a4c75543624ada8920b8e888d9187.tar.gz
master-187ad058-0b6231764c2a4c75543624ada8920b8e888d9187.tar.bz2
master-187ad058-0b6231764c2a4c75543624ada8920b8e888d9187.zip
[package] mac80211: fix order of iw parameters, fix broken antenna config call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25152 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 7e38cea557..13d6584b09 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -256,7 +256,7 @@ enable_mac80211() {
fixed=1
}
- iw phy "$phy" set antenna "$txantenna $rxantenna"
+ iw phy "$phy" set antenna $txantenna $rxantenna
[ -n "$distance" ] && iw phy "$phy" set distance "$distance"
[ -n "$frag" ] && iw phy "$phy" set frag "${frag%%.*}"
@@ -425,9 +425,9 @@ enable_mac80211() {
iw dev "$ifname" ibss join "$ssid" $freq \
${fixed:+fixed-freq} $bssid \
- ${mcval:+mcast-rate $mcval} \
${bintval:+beacon-interval $bintval} \
${basicrates:+basic-rates $basicrates} \
+ ${mcval:+mcast-rate $mcval} \
${keyspec:+keys $keyspec}
;;
sta)