Przeglądaj źródła

qcacld-3.0: Fix the stability issue in wlan stop modules

wait for single event in umac_stop instead of wait for event
completion in which the events can be forcefully get reset
in the event of SSR.

Change-Id: I1925b820c7c292acbc019b058ff51297ad800b88
CRs-Fixed: 2289353
Kiran Kumar Lokere 6 lat temu
rodzic
commit
782bb6cc73
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      core/mac/src/sys/common/src/wlan_qct_sys.c

+ 1 - 2
core/mac/src/sys/common/src/wlan_qct_sys.c

@@ -111,8 +111,7 @@ QDF_STATUS umac_stop(void)
 	if (!QDF_IS_STATUS_SUCCESS(qdf_status))
 		qdf_status = QDF_STATUS_E_BADMSG;
 
-	qdf_status = qdf_wait_for_event_completion(&g_stop_evt,
-			SYS_STOP_TIMEOUT);
+	qdf_status = qdf_wait_single_event(&g_stop_evt, SYS_STOP_TIMEOUT);
 	QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
 
 	qdf_status = qdf_event_destroy(&g_stop_evt);