summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2011-12-08 07:29:02 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-12-13 21:30:18 +0100
commit93fdd59463369f07b69cf7397ccb9b1d28a84df4 (patch)
tree9f304474171ec300a83da0eca1cad56d887c3f58
parentMerge branch 'wireless-next' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadlinux-93fdd59463369f07b69cf7397ccb9b1d28a84df4.tar.xz
linux-93fdd59463369f07b69cf7397ccb9b1d28a84df4.zip
ath9k_hw: check for asynchronous interrupts before bailing out
in ar9003_hw_get_isr we bail out if we don't have any primary interrupts and synchronous interrupts, also make sure we don't have any asynchronous interrupts Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
index 95587e36ab9c..508c2022ea9f 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
@@ -220,7 +220,7 @@ static bool ar9003_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
*masked = 0;
- if (!isr && !sync_cause)
+ if (!isr && !sync_cause && !async_cause)
return false;
if (isr) {