summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-05-26 16:59:42 +0000
committeradrian <adrian@FreeBSD.org>2011-05-26 16:59:42 +0000
commitd59ac47d9eb23e6ffcb7f5d652fa72fe8632f98c (patch)
tree2ea1c61b4c1fad6720a545068955c98c1e68e655 /sys/dev
parentc2b7c664f96463ea844a65b6b0d5789851aae0ff (diff)
downloadFreeBSD-src-d59ac47d9eb23e6ffcb7f5d652fa72fe8632f98c.zip
FreeBSD-src-d59ac47d9eb23e6ffcb7f5d652fa72fe8632f98c.tar.gz
Remove the three-chain scaled power check for the AR9287 - it isn't
needed.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/ath_hal/ar9002/ar9287_reset.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c b/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c
index b152c2d..34a723a 100644
--- a/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c
+++ b/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c
@@ -114,7 +114,6 @@ ar9287SetPowerCalTable(struct ath_hal *ah,
/* XXX hard-coded values? */
#define REDUCE_SCALED_POWER_BY_TWO_CHAIN 6
-#define REDUCE_SCALED_POWER_BY_THREE_CHAIN 10
/*
* ar9287SetPowerPerRateTable
@@ -186,10 +185,6 @@ ar9287SetPowerPerRateTable(struct ath_hal *ah,
break;
case 2:
scaledPower -= REDUCE_SCALED_POWER_BY_TWO_CHAIN;
- break;
- case 3:
- scaledPower -= REDUCE_SCALED_POWER_BY_THREE_CHAIN;
- break;
default:
return AH_FALSE; /* Unsupported number of chains */
}
@@ -323,7 +318,6 @@ ar9287SetPowerPerRateTable(struct ath_hal *ah,
}
#undef REDUCE_SCALED_POWER_BY_TWO_CHAIN
-#undef REDUCE_SCALED_POWER_BY_THREE_CHAIN
/*
* This is based off of the AR5416/AR9285 code and likely could
OpenPOWER on IntegriCloud