merge r13031 to 8.09
authorFelix Fietkau <nbd@openwrt.org>
Thu, 23 Oct 2008 12:34:15 +0000 (12:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 23 Oct 2008 12:34:15 +0000 (12:34 +0000)
SVN-Revision: 13037

package/madwifi/files/lib/wifi/madwifi.sh

index 1188e4f..379ec07 100755 (executable)
@@ -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 ;;