commit | 45684c75f9aa80eb477465bddcf79c9ad95206c7 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Fri Oct 15 20:03:29 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Nov 09 16:13:24 2010 -0500 |
tree | 221ce163359f938fb8b13a28963ea957ee95ff0f | |
parent | 4df3071ebd92ef7115b409da64d0eb405d24a631 [diff] |
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>