Skip to content

Commit a4d86d9

Browse files
Rajkumar Manoharanlinvjw
authored andcommitted
ath9k: Reset chip on baseband hang
Resetting hardware helps to recover from baseband hang/panic for AR9003 based chips. Cc: stable@kernel.org Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent fb23d86 commit a4d86d9

File tree

1 file changed

+3
-1
lines changed
  • drivers/net/wireless/ath/ath9k

1 file changed

+3
-1
lines changed

drivers/net/wireless/ath/ath9k/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,8 @@ void ath9k_tasklet(unsigned long data)
670670
u32 status = sc->intrstatus;
671671
u32 rxmask;
672672

673-
if (status & ATH9K_INT_FATAL) {
673+
if ((status & ATH9K_INT_FATAL) ||
674+
(status & ATH9K_INT_BB_WATCHDOG)) {
674675
ath_reset(sc, true);
675676
return;
676677
}
@@ -737,6 +738,7 @@ irqreturn_t ath_isr(int irq, void *dev)
737738
{
738739
#define SCHED_INTR ( \
739740
ATH9K_INT_FATAL | \
741+
ATH9K_INT_BB_WATCHDOG | \
740742
ATH9K_INT_RXORN | \
741743
ATH9K_INT_RXEOL | \
742744
ATH9K_INT_RX | \

0 commit comments

Comments
 (0)