aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/phy.c
diff options
context:
space:
mode:
authorNick Kossifidis <mickflemm@gmail.com>2011-11-25 13:40:26 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-28 14:44:17 -0500
commitdafae6af0336958e9e2eb67cc5e4e31d6d13b308 (patch)
tree597b1e99fa51423b098bf8f10d4a19d3d3373034 /drivers/net/wireless/ath/ath5k/phy.c
parentc47faa364cfb249d5d7670fb7293a6f9acd8aa9e (diff)
ath5k: We always do full calibration on AR5210
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/phy.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
index a635441d1fed..e1f8613426a9 100644
--- 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,
1674 u32 phy_sig, phy_agc, phy_sat, beacon; 1674 u32 phy_sig, phy_agc, phy_sat, beacon;
1675 int ret; 1675 int ret;
1676 1676
1677 if (!(ah->ah_cal_mask & AR5K_CALIBRATION_FULL))
1678 return 0;
1679
1677 /* 1680 /*
1678 * Disable beacons and RX/TX queues, wait 1681 * Disable beacons and RX/TX queues, wait
1679 */ 1682 */