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

Commit 00f97b4f authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville
Browse files

ath9k_hw: enable ANI on AR934x



It has been tested and works properly

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5d9c7e3c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -671,10 +671,6 @@ static int __ath9k_hw_init(struct ath_hw *ah)
	if (!AR_SREV_9300_20_OR_LATER(ah))
		ah->ani_function &= ~ATH9K_ANI_MRC_CCK;

	/* disable ANI for 9340 */
	if (AR_SREV_9340(ah))
		ah->config.enable_ani = false;

	ath9k_hw_init_mode_regs(ah);

	if (!ah->is_pciexpress)