Date: Thu, 26 May 2011 16:59:42 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222316 - head/sys/dev/ath/ath_hal/ar9002 Message-ID: <201105261659.p4QGxgKY073020@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105261659.p4QGxgKY073020>