523-ath9k_cycle_counter_lock_fix.patch 369 B

123456789101112
  1. --- a/drivers/net/wireless/ath/ath9k/main.c
  2. +++ b/drivers/net/wireless/ath/ath9k/main.c
  3. @@ -780,7 +780,9 @@ irqreturn_t ath_isr(int irq, void *dev)
  4. * it will clear whatever condition caused
  5. * the interrupt.
  6. */
  7. + spin_lock(&common->cc_lock);
  8. ath9k_hw_proc_mib_event(ah);
  9. + spin_unlock(&common->cc_lock);
  10. ath9k_hw_set_interrupts(ah, ah->imask);
  11. }