fix polarity

SVN-Revision: 13031
This commit is contained in:
Travis Kemen 2008-10-23 01:49:19 +00:00
parent c818cdbb4d
commit 6d6878bb10

View File

@ -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 ;;