소스 검색

qcacld-3.0: Fix set hw mode completion event not reset

During vdev destroy, normally driver will wait for set hw mode
completion before cancel the nonscan serialization Command.
But the “wait” doesn't happen at some time. The reason could be
the qdf event (set hw complete event) is signaled state at the
time of waiting. There are code path the event is set without
reset during hw mode change.
Fix by reset the event in csr_process_set_hw_mode alone with
setting the hw_mode_change_in_progress flag.

Change-Id: I00318ec5d1f3c50233e8a990000ef5b011adf8dd
CRs-Fixed: 3259235
Liangwei Dong 2 년 전
부모
커밋
5f895107e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/sme/src/csr/csr_api_roam.c

+ 1 - 0
core/sme/src/csr/csr_api_roam.c

@@ -7275,6 +7275,7 @@ void csr_process_set_hw_mode(struct mac_context *mac, tSmeCmd *command)
 	}
 
 	policy_mgr_set_hw_mode_change_in_progress(mac->psoc, hw_mode);
+	policy_mgr_reset_connection_update(mac->psoc);
 
 	if ((POLICY_MGR_UPDATE_REASON_OPPORTUNISTIC ==
 	     command->u.set_hw_mode_cmd.reason) &&