Эх сурвалжийг харах

ath9k_hw: Enable generic timer interrupt.

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>
Vivek Natarajan 14 жил өмнө
parent
commit
f78eb657f0

+ 3 - 0
drivers/net/wireless/ath/ath9k/mac.c

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