aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commit3c8d67166e65a4133739b1afddeb8c1905f4df03 (patch)
treebad5d179db7c0944337b5f7a16387c7ead597b40 /package/madwifi
parent4e7201312e57eb4b417d2044ef04c1bb6aaf5896 (diff)
downloadmaster-187ad058-3c8d67166e65a4133739b1afddeb8c1905f4df03.tar.gz
master-187ad058-3c8d67166e65a4133739b1afddeb8c1905f4df03.tar.bz2
master-187ad058-3c8d67166e65a4133739b1afddeb8c1905f4df03.zip
fix polarity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13031 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-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 ;;