qcacmn: Donot update NAPI stats for CE with NAPI disabled

In case NAPI is disabled on a CE (and tasklets are used instead), donot
update NAPI stats for the CE.

Change-Id: Iaf464df9a8520d705f73f7be355736ae2f1aaf5b
CRs-Fixed: 2412599
This commit is contained in:
Mohit Khanna
2019-03-11 19:12:48 -07:00
committed by nshrivas
parent 2d26d82348
commit 513781344d
2 changed files with 5 additions and 3 deletions

View File

@@ -1058,8 +1058,6 @@ void hif_napi_update_yield_stats(struct CE_state *ce_state,
cpu_id = qdf_get_cpu();
if (unlikely(!napi_data->napis[ce_id])) {
HIF_INFO("%s: NAPI info is NULL for ce id: %d",
__func__, ce_id);
return;
}