From: Mohammed Shafi Shajakhan Date: Thu, 8 Dec 2011 06:29:02 +0000 (+0530) Subject: ath9k_hw: check for asynchronous interrupts before bailing out X-Git-Tag: v3.12-rc1~4160^2~44^2~199 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93fdd59463369f07b69cf7397ccb9b1d28a84df4;p=kernel%2Fkernel-generic.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c b/drivers/net/wireless/ath/ath9k/ar9003_mac.c index 95587e3..508c202 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) {