Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278632
b: refs/heads/master
c: 8695135
h: refs/heads/master
v: v3
  • Loading branch information
Nikolay Martynov authored and John W. Linville committed Dec 7, 2011
1 parent 0e30c5d commit dc1c852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: a9b2ce03b2a071420c10f3873869480fbb7f4493
refs/heads/master: 86951359c1ee35dbae5e11d7cd959e2cb8e6051f
8 changes: 5 additions & 3 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,16 +562,13 @@ void ath_ani_calibrate(unsigned long data)
/* Long calibration runs independently of short calibration. */
if ((timestamp - common->ani.longcal_timer) >= long_cal_interval) {
longcal = true;
ath_dbg(common, ATH_DBG_ANI, "longcal @%lu\n", jiffies);
common->ani.longcal_timer = timestamp;
}

/* Short calibration applies only while caldone is false */
if (!common->ani.caldone) {
if ((timestamp - common->ani.shortcal_timer) >= short_cal_interval) {
shortcal = true;
ath_dbg(common, ATH_DBG_ANI,
"shortcal @%lu\n", jiffies);
common->ani.shortcal_timer = timestamp;
common->ani.resetcal_timer = timestamp;
}
Expand Down Expand Up @@ -606,6 +603,11 @@ void ath_ani_calibrate(unsigned long data)
ah->rxchainmask, longcal);
}

ath_dbg(common, ATH_DBG_ANI,
"Calibration @%lu finished: %s %s %s, caldone: %s\n", jiffies,
longcal ? "long" : "", shortcal ? "short" : "",
aniflag ? "ani" : "", common->ani.caldone ? "true" : "false");

ath9k_ps_restore(sc);

set_timer:
Expand Down

0 comments on commit dc1c852

Please sign in to comment.