ath5k: reduce interrupt load caused by rx/tx interrupts
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Apr 2011 16:32:19 +0000 (18:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:59:27 +0000 (16:59 -0400)
commitc266c71a9cbdccb40fb6f4c05d4ddaa6226e5eba
treec8efcb9c2f74d8a54e4ac8e12f80bb856a055291
parent5b7916ad8c29da9f30fbf03a8b61862acdba00ce
ath5k: reduce interrupt load caused by rx/tx interrupts

While the rx/tx tasklet is pending, new unnecessary interrupts may arrive.
Decrease the load by temporarily disabling the interrupts until the tasklet
has completed.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h