svn commit: r219445 - head/sys/dev/ath/ath_hal/ar9002

Adrian Chadd adrian at FreeBSD.org
Thu Mar 10 06:09:56 UTC 2011


Author: adrian
Date: Thu Mar 10 06:09:55 2011
New Revision: 219445
URL: http://svn.freebsd.org/changeset/base/219445

Log:
  Now that the power curve adjustment code is in, disable the error check
  I introduced earlier, and turn it into debugging output.

Modified:
  head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c

Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c	Thu Mar 10 06:08:24 2011	(r219444)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c	Thu Mar 10 06:09:55 2011	(r219445)
@@ -266,12 +266,9 @@ ar9280Attach(uint16_t devid, HAL_SOFTC s
          * This can occur with eeprom minor V21 or greater on Merlin.
          */
 	(void) ath_hal_eepromGet(ah, AR_EEP_PWR_TABLE_OFFSET, &pwr_table_offset);
-	if (pwr_table_offset != AR5416_PWR_TABLE_OFFSET_DB) {
-		ath_hal_printf(ah, "ERROR: default pwr offset: %d dBm != EEPROM pwr offset: %d dBm\n",
+	if (pwr_table_offset != AR5416_PWR_TABLE_OFFSET_DB)
+		ath_hal_printf(ah, "[ath]: default pwr offset: %d dBm != EEPROM pwr offset: %d dBm; curves will be adjusted.\n",
 		    AR5416_PWR_TABLE_OFFSET_DB, (int) pwr_table_offset);
-		ecode = HAL_ENOTSUPP;
-		goto bad;
-	}
 
 	if (AR_SREV_MERLIN_20_OR_LATER(ah)) {
 		/* setup rxgain table */


More information about the svn-src-head mailing list