From 7520ceb724808929ee03b84b62cff0c46622d335 Mon Sep 17 00:00:00 2001 From: Vasanthakumar Thiagarajan Date: Mon, 18 Jul 2011 14:23:30 +0530 Subject: [PATCH] ath6kl: Bypass reading irq status based on chk_irq_status_cnt This is a regression. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath6kl/htc_hif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath6kl/htc_hif.c b/drivers/net/wireless/ath/ath6kl/htc_hif.c index 9904beee55c1..7ab40c1d3157 100644 --- a/drivers/net/wireless/ath/ath6kl/htc_hif.c +++ b/drivers/net/wireless/ath/ath6kl/htc_hif.c @@ -469,7 +469,8 @@ static int proc_pending_irqs(struct ath6kl_device *dev, bool *done) ath6kl_dbg(ATH6KL_DBG_IRQ, "bypassing irq status re-check, forcing done\n"); - *done = true; + if (!dev->chk_irq_status_cnt) + *done = true; ath6kl_dbg(ATH6KL_DBG_IRQ, "proc_pending_irqs: (done:%d, status=%d\n", *done, status); -- GitLab