ath9k: Handle power modes in isr for power save.
Restore network sleep mode in isr if power save is enabled. Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
9331ec8060
commit
541d8dd5e8
@@ -516,6 +516,7 @@ irqreturn_t ath_isr(int irq, void *dev)
|
||||
return IRQ_NONE;
|
||||
|
||||
sc->intrstatus = status;
|
||||
ath9k_ps_wakeup(sc);
|
||||
|
||||
if (status & ATH9K_INT_FATAL) {
|
||||
/* need a chip reset */
|
||||
@@ -581,6 +582,7 @@ irqreturn_t ath_isr(int irq, void *dev)
|
||||
sched = true;
|
||||
}
|
||||
}
|
||||
ath9k_ps_restore(sc);
|
||||
} while (0);
|
||||
|
||||
ath_debug_stat_interrupt(sc, status);
|
||||
|
Reference in New Issue
Block a user