diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-15 20:03:29 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-09 16:13:24 -0500 |
commit | 45684c75f9aa80eb477465bddcf79c9ad95206c7 (patch) | |
tree | 221ce163359f938fb8b13a28963ea957ee95ff0f /drivers/net/wireless/ath/ath9k/mac.h | |
parent | 4df3071ebd92ef7115b409da64d0eb405d24a631 (diff) | |
download | kernel_samsung_smdk4412-45684c75f9aa80eb477465bddcf79c9ad95206c7.zip kernel_samsung_smdk4412-45684c75f9aa80eb477465bddcf79c9ad95206c7.tar.gz kernel_samsung_smdk4412-45684c75f9aa80eb477465bddcf79c9ad95206c7.tar.bz2 |
ath9k_hw: small optimization in ar9002_hw_get_isr
ah->config.rx_intr_mitigation does not need to be checked before checking
the rx interrupt mask for AR_ISR_RXMINTR or AR_ISR_RXINTM, as those
interrupts will be masked out if rx interrupt mitigation is disabled.
Avoid reading AR_ISR_S5_S twice by reordering the code to be more concise.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
0 files changed, 0 insertions, 0 deletions