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-Tag: MMI-PSA29.97-13-9~18194^2~254^2~327^2~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7520ceb724808929ee03b84b62cff0c46622d335;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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);