mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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
This commit is contained in:
parent
4ea7974ce3
commit
782bb6cc73
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue