ath6kl: Bypass reading irq status based on chk_irq_status_cnt
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Mon, 18 Jul 2011 08:53:30 +0000 (14:23 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Aug 2011 16:45:21 +0000 (19:45 +0300)
This is a regression.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc_hif.c

index 9904beee55c15dd6d9f38ed688b3e7df5ff38bc4..7ab40c1d3157ac1804ab26b99e78d691851fdc9b 100644 (file)
@@ -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);