1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 21:24:06 +02:00

[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
This commit is contained in:
jow 2011-01-27 16:00:02 +00:00
parent 4bf0263cf5
commit 8d510f3c87

View File

@ -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)