Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202765
b: refs/heads/master
c: 0e8e02d
h: refs/heads/master
i:
  202763: 3e75c46
v: v3
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Jun 2, 2010
1 parent 864aadd commit e612586
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e04a7eb1fdf37bc8bc0d0f59e5fb737926f0152
refs/heads/master: 0e8e02dddc528f1c650ba13bb3b61e818c39dd2f
11 changes: 6 additions & 5 deletions trunk/drivers/net/wireless/ath/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2786,10 +2786,6 @@ ath5k_tasklet_calibrate(unsigned long data)
/* Only full calibration for now */
ah->ah_cal_mask |= AR5K_CALIBRATION_FULL;

/* Stop queues so that calibration
* doesn't interfere with tx */
ieee80211_stop_queues(sc->hw);

ATH5K_DBG(sc, ATH5K_DEBUG_CALIBRATE, "channel %u/%x\n",
ieee80211_frequency_to_channel(sc->curchan->center_freq),
sc->curchan->hw_value);
Expand All @@ -2807,8 +2803,13 @@ ath5k_tasklet_calibrate(unsigned long data)
ieee80211_frequency_to_channel(
sc->curchan->center_freq));

/* TODO: We don't need to run noise floor calibration as often
* as I/Q calibration.*/

/* Noise floor calibration interrupts rx/tx path while I/Q calibration
* doesn't. Stop queues so that calibration doesn't interfere with tx */
ieee80211_stop_queues(sc->hw);
ath5k_hw_update_noise_floor(ah);
/* Wake queues */
ieee80211_wake_queues(sc->hw);

ah->ah_cal_mask &= ~AR5K_CALIBRATION_FULL;
Expand Down

0 comments on commit e612586

Please sign in to comment.