1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 02:34:16 +02:00

fix polarity

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13031 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2008-10-23 01:49:19 +00:00
parent 08721c0e6a
commit d3839c5141

View File

@ -187,7 +187,7 @@ enable_atheros() {
if [ -n "$antgpio" ]; then if [ -n "$antgpio" ]; then
softled=0 softled=0
config_get polarity "$device" polarity config_get polarity "$device" polarity
case "$antenna" in case "$polarity" in
horizontal) antdiv=0; antrx=1; anttx=1 ;; horizontal) antdiv=0; antrx=1; anttx=1 ;;
vertical) antdiv=0; antrx=2; anttx=2 ;; vertical) antdiv=0; antrx=2; anttx=2 ;;
auto) antdiv=1; antrx=0; anttx=0 ;; auto) antdiv=1; antrx=0; anttx=0 ;;