projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c47faa3
)
ath5k: We always do full calibration on AR5210
author
Nick Kossifidis
<mickflemm@gmail.com>
Fri, 25 Nov 2011 18:40:26 +0000
(20:40 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 28 Nov 2011 19:44:17 +0000
(14:44 -0500)
There is no short calibration on AR5210, make sure we treat it always
as full calibration.
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/phy.c
b/drivers/net/wireless/ath/ath5k/phy.c
index a635441d1fed66229dd45717bae096083cb105b1..e1f8613426a921f05fe294ba1409baaec7e2b954 100644
(file)
--- a/
drivers/net/wireless/ath/ath5k/phy.c
+++ b/
drivers/net/wireless/ath/ath5k/phy.c
@@
-1674,6
+1674,9
@@
ath5k_hw_rf5110_calibrate(struct ath5k_hw *ah,
u32 phy_sig, phy_agc, phy_sat, beacon;
int ret;
+ if (!(ah->ah_cal_mask & AR5K_CALIBRATION_FULL))
+ return 0;
+
/*
* Disable beacons and RX/TX queues, wait
*/