Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 3/3] ath9k: Fix bug in NF calibration
@ 2009-01-23  5:50 Sujith
  0 siblings, 0 replies; only message in thread
From: Sujith @ 2009-01-23  5:50 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, Jouni.Malinen, Luis.Rodriguez

The number of chainmasks for AR9285 weren't being
setup when running NF calibration.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
---
 drivers/net/wireless/ath9k/calib.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath9k/calib.c b/drivers/net/wireless/ath9k/calib.c
index 8e073d6..39e7a45 100644
--- a/drivers/net/wireless/ath9k/calib.c
+++ b/drivers/net/wireless/ath9k/calib.c
@@ -620,7 +620,9 @@ void ath9k_hw_loadnf(struct ath_hal *ah, struct ath9k_channel *chan)
 	};
 	u8 chainmask;
 
-	if (AR_SREV_9280(ah))
+	if (AR_SREV_9285(ah))
+		chainmask = 0x9;
+	else if (AR_SREV_9280(ah))
 		chainmask = 0x1B;
 	else
 		chainmask = 0x3F;
-- 
1.6.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-23  5:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23  5:50 [PATCH 3/3] ath9k: Fix bug in NF calibration Sujith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox