diff options
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index a4c086f069b1..2a446a938249 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -2381,6 +2381,9 @@ ath5k_init(struct ath5k_softc *sc) | |||
2381 | */ | 2381 | */ |
2382 | ath5k_stop_locked(sc); | 2382 | ath5k_stop_locked(sc); |
2383 | 2383 | ||
2384 | /* Set PHY calibration interval */ | ||
2385 | ah->ah_cal_intval = ath5k_calinterval; | ||
2386 | |||
2384 | /* | 2387 | /* |
2385 | * The basic interface to setting the hardware in a good | 2388 | * The basic interface to setting the hardware in a good |
2386 | * state is ``reset''. On return the hardware is known to | 2389 | * state is ``reset''. On return the hardware is known to |
@@ -2408,10 +2411,6 @@ ath5k_init(struct ath5k_softc *sc) | |||
2408 | 2411 | ||
2409 | /* Set ack to be sent at low bit-rates */ | 2412 | /* Set ack to be sent at low bit-rates */ |
2410 | ath5k_hw_set_ack_bitrate_high(ah, false); | 2413 | ath5k_hw_set_ack_bitrate_high(ah, false); |
2411 | |||
2412 | /* Set PHY calibration inteval */ | ||
2413 | ah->ah_cal_intval = ath5k_calinterval; | ||
2414 | |||
2415 | ret = 0; | 2414 | ret = 0; |
2416 | done: | 2415 | done: |
2417 | mmiowb(); | 2416 | mmiowb(); |