Skip to content

Commit

Permalink
ath9k_hw: check for asynchronous interrupts before bailing out
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mohammed Shafi Shajakhan authored and John W. Linville committed Dec 13, 2011
1 parent 05ef54e commit 93fdd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath9k/ar9003_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 93fdd59

Please sign in to comment.