]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath9k_hw: clean up tx completion interrupt handling
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Mar 2012 15:40:22 +0000 (16:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Mar 2012 17:43:13 +0000 (13:43 -0400)
commitce8fdf6ef6bc2e299d2e1572c55325e0dca7e85f
tree80ae52af3e78de2ba8c676dbd997a506265c2e9e
parent7e03072edd6a915812c418e5662204f83bbb0c84
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>
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/mac.h
drivers/net/wireless/ath/ath9k/xmit.c