commit | ce8fdf6ef6bc2e299d2e1572c55325e0dca7e85f | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Mar 14 16:40:22 2012 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Mar 15 13:43:13 2012 -0400 |
tree | 80ae52af3e78de2ba8c676dbd997a506265c2e9e | |
parent | 7e03072edd6a915812c418e5662204f83bbb0c84 [diff] |
ath9k_hw: clean up tx completion interrupt handling TXQ_FLAG_TXOKINT_ENABLE and TXQ_FLAG_TXERRINT_ENABLE are always set and used together, and they share the same bitmask in enum ath9k_tx_queue_flags. Simplify the code that tests for these flags. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>