* [RFC] ath9k: Enable ANI for AR9100
@ 2010-06-17 18:25 ` Björn Smedman
0 siblings, 0 replies; 2+ messages in thread
From: Björn Smedman @ 2010-06-17 18:25 UTC (permalink / raw)
To: linux-wireless, ath9k-devel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [ath9k-devel] [RFC] ath9k: Enable ANI for AR9100
@ 2010-06-17 18:25 ` Björn Smedman
0 siblings, 0 replies; 2+ messages in thread
From: Björn Smedman @ 2010-06-17 18:25 UTC (permalink / raw)
To: ath9k-devel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-17 18:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-17 18:25 [RFC] ath9k: Enable ANI for AR9100 Björn Smedman
2010-06-17 18:25 ` [ath9k-devel] " Björn Smedman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.