mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
qcacmn: Add QDF timer multiplier in qdf_wait_for_event_completion APIs
Add QDF timer multiplier in qdf_wait_for_event_completion APIs such that for emualtion setups timeout values are adjusted accordingly. Change-Id: I661cf63a963938b2d61377980335b2f209656b4e CRs-Fixed: 2151194
This commit is contained in:
parent
d1e8e496eb
commit
9368d4e645
1 changed files with 2 additions and 0 deletions
|
|
@ -380,6 +380,8 @@ QDF_STATUS qdf_wait_for_event_completion(qdf_event_t *event, uint32_t timeout)
|
|||
goto err_list_add;
|
||||
}
|
||||
|
||||
/* update the timeout if its on a emaulation platform */
|
||||
timeout *= qdf_timer_get_multiplier();
|
||||
if (timeout) {
|
||||
long ret;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue