projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8206e0
)
ath9k: Fix bug in NF calibration
author
Sujith
<Sujith.Manoharan@atheros.com>
Fri, 23 Jan 2009 05:50:55 +0000
(11:20 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:23 +0000
(16:01 -0500)
The number of chainmasks for AR9285 weren't being
setup when running NF calibration.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/calib.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath9k/calib.c
b/drivers/net/wireless/ath9k/calib.c
index d16f9fe48a9f18483ffb9316a14b05b2759e8ae4..c6d1de0f1e2179db75eaa9ac25ec5cae105b7136 100644
(file)
--- 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;