commit | e8fe7336849e469978c9bbcc435903595912c4d3 | [log] [tgz] |
---|---|---|
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | Fri Aug 05 18:59:41 2011 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Aug 09 15:52:06 2011 -0400 |
tree | bed38f150ef777fdaac6a8ff90b1cd7cd0fbe216 | |
parent | a844adfd7bee4edc66d337de6c33b348e83552a8 [diff] |
ath9k: Use atomic reference count for interrupt ops Let us enable/disable interrupts based on reference count. By doing this we can ensure that interrupts are never be enabled in the middle of tasklet processing. Instead of addressing corner cases like "ath9k: avoid enabling interrupts while processing rx", this approach handles it in generic manner. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>