diff options
author | adrian <adrian@FreeBSD.org> | 2011-05-26 16:59:42 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-05-26 16:59:42 +0000 |
commit | d59ac47d9eb23e6ffcb7f5d652fa72fe8632f98c (patch) | |
tree | 2ea1c61b4c1fad6720a545068955c98c1e68e655 /sys/dev | |
parent | c2b7c664f96463ea844a65b6b0d5789851aae0ff (diff) | |
download | FreeBSD-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.c | 6 |
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 |