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
Cette révision appartient à :
Orhan K AKYILDIZ
2017-08-11 18:04:43 -07:00
révisé par Nandini Suresh
Parent 6dfa7ee2a1
révision 9e5b93c55c

Voir le fichier

@@ -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);