2010-06-17 18:25:57

by Björn Smedman

[permalink] [raw]
Subject: [RFC] ath9k: Enable ANI for AR9100

Hi all,

I think we should either enable ANI for AR9100 (as per below) or add a
comment on why it is disabled.

Any thoughts on this?

---
diff --git a/drivers/net/wireless/ath/ath9k/hw.c
b/drivers/net/wireless/ath/ath9k/hw.c
index 62597f4..7f98488 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -488,10 +488,8 @@ static int ath9k_hw_post_init(struct ath_hw *ah)
return ecode;
}

- if (!AR_SREV_9100(ah)) {
- ath9k_hw_ani_setup(ah);
- ath9k_hw_ani_init(ah);
- }
+ ath9k_hw_ani_setup(ah);
+ ath9k_hw_ani_init(ah);

return 0;
}

Best regards,

Bj?rn