aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-10-23 01:49:19 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-10-23 01:49:19 +0000
commit6d6878bb10e3b54af25178ec45c8d4e6bab159e7 (patch)
tree1109989835fcbf7d1ae21b2496db91bedb725f79 /package/madwifi/files/lib
parentc818cdbb4d50a74c5cc046998283e71ba10fa337 (diff)
downloadupstream-6d6878bb10e3b54af25178ec45c8d4e6bab159e7.tar.gz
upstream-6d6878bb10e3b54af25178ec45c8d4e6bab159e7.tar.bz2
upstream-6d6878bb10e3b54af25178ec45c8d4e6bab159e7.zip
fix polarity
SVN-Revision: 13031
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 1188e4f87d..379ec0747b 100755
--- 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 ;;