Skip to content

Commit

Permalink
ath5k: We always do full calibration on AR5210
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nick Kossifidis authored and John W. Linville committed Nov 28, 2011
1 parent c47faa3 commit dafae6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/wireless/ath/ath5k/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit dafae6a

Please sign in to comment.