Now that the power curve adjustment code is in, disable the error check

I introduced earlier, and turn it into debugging output.
This commit is contained in:
Adrian Chadd 2011-03-10 06:09:55 +00:00
parent cc5c884d02
commit 0c89688b3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219445

View File

@ -266,12 +266,9 @@ ar9280Attach(uint16_t devid, HAL_SOFTC sc,
* 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 */