svn commit: r222316 - head/sys/dev/ath/ath_hal/ar9002
Adrian Chadd
adrian at FreeBSD.org
Thu May 26 16:59:43 UTC 2011
Author: adrian
Date: Thu May 26 16:59:42 2011
New Revision: 222316
URL: http://svn.freebsd.org/changeset/base/222316
Log:
Remove the three-chain scaled power check for the AR9287 - it isn't
needed.
Modified:
head/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c
Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c Thu May 26 16:55:44 2011 (r222315)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c Thu May 26 16:59:42 2011 (r222316)
@@ -114,7 +114,6 @@ ar9287SetPowerCalTable(struct ath_hal *a
/* 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_ha
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_ha
}
#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
More information about the svn-src-head
mailing list