ath6kl: Move chk_irq_status_cnt from ath6kl_device to htc_target
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
diff --git a/drivers/net/wireless/ath/ath6kl/htc_hif.c b/drivers/net/wireless/ath/ath6kl/htc_hif.c
index 7ab40c1..5d397b5 100644
--- a/drivers/net/wireless/ath/ath6kl/htc_hif.c
+++ b/drivers/net/wireless/ath/ath6kl/htc_hif.c
@@ -426,7 +426,7 @@
* HTC could not pull any messages out due to lack
* of resources.
*/
- dev->chk_irq_status_cnt = 0;
+ dev->htc_cnxt->chk_irq_status_cnt = 0;
}
/* now handle the rest of them */
@@ -469,7 +469,7 @@
ath6kl_dbg(ATH6KL_DBG_IRQ,
"bypassing irq status re-check, forcing done\n");
- if (!dev->chk_irq_status_cnt)
+ if (!dev->htc_cnxt->chk_irq_status_cnt)
*done = true;
ath6kl_dbg(ATH6KL_DBG_IRQ,
@@ -489,7 +489,7 @@
* Reset counter used to flag a re-scan of IRQ status registers on
* the target.
*/
- dev->chk_irq_status_cnt = 0;
+ dev->htc_cnxt->chk_irq_status_cnt = 0;
/*
* IRQ processing is synchronous, interrupt status registers can be