diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.c b/drivers/net/wireless/ath/ath9k/mac.c index 7bbf502563bc..0e425cb4bbb1 100644 --- a/drivers/net/wireless/ath/ath9k/mac.c +++ b/drivers/net/wireless/ath/ath9k/mac.c | |||
@@ -878,10 +878,12 @@ enum ath9k_int ath9k_hw_set_interrupts(struct ath_hw *ah, | |||
878 | if (ints & ATH9K_INT_TX) { | 878 | if (ints & ATH9K_INT_TX) { |
879 | if (ah->config.tx_intr_mitigation) | 879 | if (ah->config.tx_intr_mitigation) |
880 | mask |= AR_IMR_TXMINTR | AR_IMR_TXINTM; | 880 | mask |= AR_IMR_TXMINTR | AR_IMR_TXINTM; |
881 | if (ah->txok_interrupt_mask) | 881 | else { |
882 | mask |= AR_IMR_TXOK; | 882 | if (ah->txok_interrupt_mask) |
883 | if (ah->txdesc_interrupt_mask) | 883 | mask |= AR_IMR_TXOK; |
884 | mask |= AR_IMR_TXDESC; | 884 | if (ah->txdesc_interrupt_mask) |
885 | mask |= AR_IMR_TXDESC; | ||
886 | } | ||
885 | if (ah->txerr_interrupt_mask) | 887 | if (ah->txerr_interrupt_mask) |
886 | mask |= AR_IMR_TXERR; | 888 | mask |= AR_IMR_TXERR; |
887 | if (ah->txeol_interrupt_mask) | 889 | if (ah->txeol_interrupt_mask) |