From: Vasanthakumar Thiagarajan Date: Mon, 18 Jul 2011 08:53:30 +0000 (+0530) Subject: ath6kl: Bypass reading irq status based on chk_irq_status_cnt X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7520ceb724808929ee03b84b62cff0c46622d335;p=linux-beck.git 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 --- 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 @@ out: 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);