qcacmn: Fix napi polling issue
Do not enable interrupts and continue polling when there is pending work group napi poll function. Change-Id: I51184bc5b97f44a65e0883eb614bc47b2b5ca428 CRs-Fixed: 2094313
This commit is contained in:

committed by
snandini

parent
c50a659932
commit
4b0ee101ca
@@ -106,10 +106,7 @@ static int hif_exec_poll(struct napi_struct *napi, int budget)
|
||||
|
||||
work_done = hif_ext_group->handler(hif_ext_group->context, budget);
|
||||
|
||||
if (hif_ext_group->work_complete(hif_ext_group, work_done)) {
|
||||
if (work_done >= budget)
|
||||
work_done = budget - 1;
|
||||
|
||||
if (work_done < budget) {
|
||||
napi_complete(napi);
|
||||
qdf_atomic_dec(&scn->active_grp_tasklet_cnt);
|
||||
hif_ext_group->irq_enable(hif_ext_group);
|
||||
|
Reference in New Issue
Block a user