Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341553
b: refs/heads/master
c: ca90ef4
h: refs/heads/master
i:
  341551: 77a8e04
v: v3
  • Loading branch information
Rajkumar Manoharan authored and John W. Linville committed Nov 21, 2012
1 parent c277bce commit 887e7c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 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: d2ff5ee919f0b1377595df80ba49c9921ce4ee62
refs/heads/master: ca90ef443cab31a5481d8a7f85514d28368fef44
21 changes: 9 additions & 12 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,17 +494,6 @@ irqreturn_t ath_isr(int irq, void *dev)
if (status & SCHED_INTR)
sched = true;

#ifdef CONFIG_PM_SLEEP
if (status & ATH9K_INT_BMISS) {
if (atomic_read(&sc->wow_sleep_proc_intr) == 0) {
ath_dbg(common, ANY, "during WoW we got a BMISS\n");
atomic_inc(&sc->wow_got_bmiss_intr);
atomic_dec(&sc->wow_sleep_proc_intr);
}
ath_dbg(common, INTERRUPT, "beacon miss interrupt\n");
}
#endif

/*
* If a FATAL or RXORN interrupt is received, we have to reset the
* chip immediately.
Expand All @@ -523,7 +512,15 @@ irqreturn_t ath_isr(int irq, void *dev)

goto chip_reset;
}

#ifdef CONFIG_PM_SLEEP
if (status & ATH9K_INT_BMISS) {
if (atomic_read(&sc->wow_sleep_proc_intr) == 0) {
ath_dbg(common, ANY, "during WoW we got a BMISS\n");
atomic_inc(&sc->wow_got_bmiss_intr);
atomic_dec(&sc->wow_sleep_proc_intr);
}
}
#endif
if (status & ATH9K_INT_SWBA)
tasklet_schedule(&sc->bcon_tasklet);

Expand Down

0 comments on commit 887e7c3

Please sign in to comment.