ath9k_hw: Enable generic timer interrupt.
authorVivek Natarajan <vnatarajan@atheros.com>
Tue, 26 Apr 2011 05:09:54 +0000 (10:39 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Apr 2011 18:50:01 +0000 (14:50 -0400)
Generic timer interrupt was not triggered unless autosleep was
disabled. Since autosleep is enabled in the newer chipsets,
enable generic timer for using with bt coex logic.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.c

index c8a4cedce805b33637751667a46e9fa387933269..9cf7a7d0e118b2f52a77f9ec8e772719f4606f99 100644 (file)
@@ -885,6 +885,9 @@ void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints)
                        mask |= AR_IMR_GENTMR;
        }
 
+       if (ints & ATH9K_INT_GENTIMER)
+               mask |= AR_IMR_GENTMR;
+
        if (ints & (ATH9K_INT_BMISC)) {
                mask |= AR_IMR_BCNMISC;
                if (ints & ATH9K_INT_TIM)