Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 301007
b: refs/heads/master
c: 4e7fb71
h: refs/heads/master
i:
  301005: 56624af
  301003: 04587f2
  300999: 57d9372
  300991: 31b8895
v: v3
  • Loading branch information
Rajkumar Manoharan authored and John W. Linville committed Apr 16, 2012
1 parent 79a4628 commit 09c5642
Show file tree
Hide file tree
Showing 2 changed files with 7 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: af1e8a6fb4051b8f34a49d00281f09ffcb1bd256
refs/heads/master: 4e7fb7187d69132cf8223d4f8a49f86a6aba529d
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/beacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,11 @@ void ath_beacon_tasklet(unsigned long data)
int slot;
u32 bfaddr, bc = 0;

if (work_pending(&sc->hw_reset_work)) {
ath_dbg(common, RESET,
"reset work is pending, skip beaconing now\n");
return;
}
/*
* Check if the previous beacon has gone out. If
* not don't try to post another, skip this period
Expand All @@ -381,6 +386,7 @@ void ath_beacon_tasklet(unsigned long data)
ath9k_hw_bstuck_nfcal(ah);
} else if (sc->beacon.bmisscnt >= BSTUCK_THRESH) {
ath_dbg(common, BSTUCK, "beacon is officially stuck\n");
sc->beacon.bmisscnt = 0;
sc->sc_flags |= SC_OP_TSF_RESET;
ieee80211_queue_work(sc->hw, &sc->hw_reset_work);
}
Expand Down

0 comments on commit 09c5642

Please sign in to comment.