projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c818cdb
)
fix polarity
author
Travis Kemen
<thepeople@openwrt.org>
Thu, 23 Oct 2008 01:49:19 +0000
(
01:49
+0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Thu, 23 Oct 2008 01:49:19 +0000
(
01:49
+0000)
SVN-Revision: 13031
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 1188e4f87d363ebdb21f4169aba3498db7dce276..379ec0747b437db4cdbcb635363b1305d9dcc302 100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-187,7
+187,7
@@
enable_atheros() {
if [ -n "$antgpio" ]; then
softled=0
config_get polarity "$device" polarity
- case "$
antenna
" in
+ case "$
polarity
" in
horizontal) antdiv=0; antrx=1; anttx=1 ;;
vertical) antdiv=0; antrx=2; anttx=2 ;;
auto) antdiv=1; antrx=0; anttx=0 ;;