ath9k: do not enable interrupt on set interrupt mask
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / gpio.c
index bc713fc28191b2baf4e1992365902cfbce25fd07..5113dd80c99fb707946f69e073f59fbcc0f6613e 100644 (file)
@@ -149,6 +149,7 @@ static void ath9k_gen_timer_start(struct ath_hw *ah,
                ath9k_hw_disable_interrupts(ah);
                ah->imask |= ATH9K_INT_GENTIMER;
                ath9k_hw_set_interrupts(ah, ah->imask);
+               ath9k_hw_enable_interrupts(ah);
        }
 }
 
@@ -163,6 +164,7 @@ static void ath9k_gen_timer_stop(struct ath_hw *ah, struct ath_gen_timer *timer)
                ath9k_hw_disable_interrupts(ah);
                ah->imask &= ~ATH9K_INT_GENTIMER;
                ath9k_hw_set_interrupts(ah, ah->imask);
+               ath9k_hw_enable_interrupts(ah);
        }
 }
 
This page took 0.026681 seconds and 5 git commands to generate.