Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213981
b: refs/heads/master
c: 6252fcb
h: refs/heads/master
i:
  213979: 156b21b
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Aug 16, 2010
1 parent 1c10b45 commit 90553c4
Show file tree
Hide file tree
Showing 3 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: 1ac62ba7c985109868a18d959986425148481f47
refs/heads/master: 6252fcb9f802a992c697edf105e30271a4ae3246
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/ath/ath9k/beacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,11 @@ void ath_beacon_tasklet(unsigned long data)
sc->beacon.bmisscnt++;

if (sc->beacon.bmisscnt < BSTUCK_THRESH) {
ath_print(common, ATH_DBG_BEACON,
ath_print(common, ATH_DBG_BSTUCK,
"missed %u consecutive beacons\n",
sc->beacon.bmisscnt);
} else if (sc->beacon.bmisscnt >= BSTUCK_THRESH) {
ath_print(common, ATH_DBG_BEACON,
ath_print(common, ATH_DBG_BSTUCK,
"beacon is officially stuck\n");
sc->sc_flags |= SC_OP_TSF_RESET;
ath_reset(sc, false);
Expand All @@ -373,7 +373,7 @@ void ath_beacon_tasklet(unsigned long data)
}

if (sc->beacon.bmisscnt != 0) {
ath_print(common, ATH_DBG_BEACON,
ath_print(common, ATH_DBG_BSTUCK,
"resume beacon xmit after %u misses\n",
sc->beacon.bmisscnt);
sc->beacon.bmisscnt = 0;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/ath/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @ATH_DBG_PS: power save processing
* @ATH_DBG_HWTIMER: hardware timer handling
* @ATH_DBG_BTCOEX: bluetooth coexistance
* @ATH_DBG_BSTUCK: stuck beacons
* @ATH_DBG_ANY: enable all debugging
*
* The debug level is used to control the amount and type of debugging output
Expand All @@ -60,6 +61,7 @@ enum ATH_DEBUG {
ATH_DBG_HWTIMER = 0x00001000,
ATH_DBG_BTCOEX = 0x00002000,
ATH_DBG_WMI = 0x00004000,
ATH_DBG_BSTUCK = 0x00008000,
ATH_DBG_ANY = 0xffffffff
};

Expand Down

0 comments on commit 90553c4

Please sign in to comment.