summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-07-18 14:23:30 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 19:45:21 +0300
commit7520ceb724808929ee03b84b62cff0c46622d335 (patch)
tree6bb43723ac614516132da8fc2b21d60cf013f201 /drivers/net
parent50745af7ebb38d3f8f2487f92db6c59c13dc0b89 (diff)
ath6kl: Bypass reading irq status based on chk_irq_status_cnt
This is a regression. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc_hif.c3
1 files changed, 2 insertions, 1 deletions
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);