linux/atheros: fix another 2.6.36 patch issue
[openwrt/staging/yousong.git] / package / mac80211 / patches / 530-ath9k_cycle_counter_lock_fix.patch
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 }
12