Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03c72518 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville
Browse files

ath9k_hw: enable ANI for AR9003



AR9003 has been tested with the new ANI implementation
and so ANI can now be enabled for that family.

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e36b27af
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -375,13 +375,7 @@ static void ath9k_hw_init_config(struct ath_hw *ah)
	ah->config.ofdm_trig_high = 500;
	ah->config.cck_trig_high = 200;
	ah->config.cck_trig_low = 100;

	/*
	 * For now ANI is disabled for AR9003, it is still
	 * being tested.
	 */
	if (!AR_SREV_9300_20_OR_LATER(ah))
		ah->config.enable_ani = 1;
	ah->config.enable_ani = true;

	for (i = 0; i < AR_EEPROM_MODAL_SPURS; i++) {
		ah->config.spurchans[i][0] = AR_NO_SPUR;