소스 검색

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
Venkateswara Swamy Bandaru 7 년 전
부모
커밋
4b0ee101ca
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      hif/src/hif_exec.c

+ 1 - 4
hif/src/hif_exec.c

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