Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218436
b: refs/heads/master
c: 0845735
h: refs/heads/master
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Oct 25, 2010
1 parent f5ed0f7 commit a26b67c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d3fca180710c6832de22c44155ce6a3a4953c6b
refs/heads/master: 0845735e2d1e4c177076d4bc2d841d9f77e95131
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ static void ath_update_survey_stats(struct ath_softc *sc)
struct ath_cycle_counters *cc = &common->cc_survey;
unsigned int div = common->clockrate * 1000;

if (!ah->curchan)
return;

if (ah->power_mode == ATH9K_PM_AWAKE)
ath_hw_cycle_counters_update(common);

Expand Down

0 comments on commit a26b67c

Please sign in to comment.