mac80211: update to wireless-testing 2010-10-15, add a few ath9k fixes and performanc...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 523-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