ath9k_hw: make ath9k_hw_set_interrupts use ah->imask by default
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / gpio.c
index fd0f84ebdb51994895966c988ae414acd2f797d5..61eee8c49a1492ae0de877ae2fcef04956e6e66c 100644 (file)
@@ -155,7 +155,7 @@ static void ath9k_gen_timer_start(struct ath_hw *ah,
        if ((ah->imask & ATH9K_INT_GENTIMER) == 0) {
                ath9k_hw_disable_interrupts(ah);
                ah->imask |= ATH9K_INT_GENTIMER;
-               ath9k_hw_set_interrupts(ah, ah->imask);
+               ath9k_hw_set_interrupts(ah);
                ath9k_hw_enable_interrupts(ah);
        }
 }
@@ -170,7 +170,7 @@ static void ath9k_gen_timer_stop(struct ath_hw *ah, struct ath_gen_timer *timer)
        if (timer_table->timer_mask.val == 0) {
                ath9k_hw_disable_interrupts(ah);
                ah->imask &= ~ATH9K_INT_GENTIMER;
-               ath9k_hw_set_interrupts(ah, ah->imask);
+               ath9k_hw_set_interrupts(ah);
                ath9k_hw_enable_interrupts(ah);
        }
 }
This page took 0.027378 seconds and 5 git commands to generate.