projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50be020
)
mac80211: fix order of iw parameters, fix broken antenna config call
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 27 Jan 2011 16:00:02 +0000
(16:00 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 27 Jan 2011 16:00:02 +0000
(16:00 +0000)
SVN-Revision: 25152
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index 7e38cea557f854eb2e26d346fb82581686835e16..13d6584b09b8101fc0febf0177f321dab93201bb 100644
(file)
--- 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)