Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134153
b: refs/heads/master
c: 9950688
h: refs/heads/master
i:
  134151: 801b168
v: v3
  • Loading branch information
Gabor Juhos authored and John W. Linville committed Jan 29, 2009
1 parent 7391396 commit c8a9799
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1975ef2039c63f58e6c80861a24236bcd0483aa9
refs/heads/master: 9950688263dcd74560582f590d270728f4e92ed0
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/ath9k/ani.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,9 @@ void ath9k_hw_ani_monitor(struct ath_hal *ah,
struct ar5416AniState *aniState;
int32_t listenTime;

if (!DO_ANI(ah))
return;

aniState = ahp->ah_curani;
ahp->ah_stats.ast_nodestats = *stats;

Expand Down Expand Up @@ -610,9 +613,6 @@ void ath9k_hw_ani_monitor(struct ath_hal *ah,
aniState->cckPhyErrCount = cckPhyErrCnt;
}

if (!DO_ANI(ah))
return;

if (aniState->listenTime > 5 * ahp->ah_aniPeriod) {
if (aniState->ofdmPhyErrCount <= aniState->listenTime *
aniState->ofdmTrigLow / 1000 &&
Expand Down

0 comments on commit c8a9799

Please sign in to comment.