From d3839c51412208161893dc64138ea4a027b643b3 Mon Sep 17 00:00:00 2001 From: thepeople Date: Thu, 23 Oct 2008 01:49:19 +0000 Subject: fix polarity git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13031 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/madwifi/files/lib') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 1188e4f87..379ec0747 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 ;; -- cgit v1.2.3