]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ath9k_hw: check for asynchronous interrupts before bailing out
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Thu, 8 Dec 2011 06:29:02 +0000 (11:59 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:30:18 +0000 (15:30 -0500)
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>
drivers/net/wireless/ath/ath9k/ar9003_mac.c

index 95587e36ab9cfab4870b9b57ef952f822748c7f7..508c2022ea9ffbd0d62b7b4fc8c29110a0417b84 100644 (file)
@@ -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) {