mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Clear the force_set flag while resetting a qdf_event
In case where a qdf event was waiting and an SSR has occurred, force_set flag is set for the event. After driver recovery is complete the same event can be reset and re-used without resetting this flag. This may cause a failure even after the event was successfully completed. Clear the force_set flag while resetting a qdf_event Change-Id: Ia8cbc04776144d40e9c59fa339f8993fdbb73368 CRs-Fixed: 2264320
This commit is contained in:
parent
506c4d60f5
commit
4d5a2fe8d9
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ QDF_STATUS qdf_event_reset(qdf_event_t *event)
|
|||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
event->force_set = false;
|
||||
/* (re)initialize event */
|
||||
INIT_COMPLETION(event->complete);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue