From d59ac47d9eb23e6ffcb7f5d652fa72fe8632f98c Mon Sep 17 00:00:00 2001 From: adrian Date: Thu, 26 May 2011 16:59:42 +0000 Subject: Remove the three-chain scaled power check for the AR9287 - it isn't needed. --- sys/dev/ath/ath_hal/ar9002/ar9287_reset.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/dev') 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 -- cgit v1.1