summaryrefslogtreecommitdiff
path: root/hif
diff options
context:
space:
mode:
authorOrhan K AKYILDIZ <oka@codeaurora.org>2017-08-11 18:04:43 -0700
committerNandini Suresh <snandini@codeaurora.org>2017-10-12 14:22:24 -0700
commit9e5b93c55cb2e1d24a07092ecda98d8f46b54049 (patch)
treebd71d154b49057231d08524feccc53d71cc2e0d8 /hif
parent6dfa7ee2a194088453d55e20910feaecb22b4ea7 (diff)
downloadqca-wfi-host-cmn-9e5b93c55cb2e1d24a07092ecda98d8f46b54049.tar.gz
qcacmn: Limit yield log to rx data CEs
A recent change added NAPI yield stats update call for all CEs. With another receent change that shortened the yield time, we see a lot of logs complaining about CEs where this particular stats are not applicable to. Limit the stats update to NAPI CEs. Change-Id: Ia17a4ddf53ce52116f30d48190f47914721a548e CRs-Fixed: 2092084
Diffstat (limited to 'hif')
-rw-r--r--hif/src/ce/ce_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hif/src/ce/ce_service.c b/hif/src/ce/ce_service.c
index 2bce4cd67..86001dfaf 100644
--- a/hif/src/ce/ce_service.c
+++ b/hif/src/ce/ce_service.c
@@ -229,7 +229,7 @@ bool hif_ce_service_should_yield(struct hif_softc *scn,
yield = time_limit_reached || rxpkt_thresh_reached;
- if (yield)
+ if (yield && ce_state->htt_rx_data)
hif_napi_update_yield_stats(ce_state,
time_limit_reached,
rxpkt_thresh_reached);