mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Pass milliseconds instead of jiffies to qdf_wait_single_event
qdf_wait_single_event expects milliseconds to passed but instead jiffies were passed making actual wait time smaller than expected. Change-Id: I920d7183e30dd4490b64c6ae9875811db57183f3 CRs-Fixed: 2401129
This commit is contained in:
parent
821e61be5e
commit
feecb9f343
1 changed files with 2 additions and 4 deletions
|
|
@ -715,8 +715,7 @@ ucfg_scan_cancel_sync(struct scan_cancel_request *req)
|
|||
SCAN_NOT_IN_PROGRESS) && max_wait_iterations) {
|
||||
scm_debug("wait for all pdev scan to get complete");
|
||||
qdf_wait_single_event(&cancel_scan_event,
|
||||
qdf_system_msecs_to_ticks(
|
||||
SCM_CANCEL_SCAN_WAIT_TIME));
|
||||
SCM_CANCEL_SCAN_WAIT_TIME);
|
||||
max_wait_iterations--;
|
||||
}
|
||||
} else if (cancel_vdev) {
|
||||
|
|
@ -724,8 +723,7 @@ ucfg_scan_cancel_sync(struct scan_cancel_request *req)
|
|||
SCAN_NOT_IN_PROGRESS) && max_wait_iterations) {
|
||||
scm_debug("wait for all vdev scan to get complete");
|
||||
qdf_wait_single_event(&cancel_scan_event,
|
||||
qdf_system_msecs_to_ticks(
|
||||
SCM_CANCEL_SCAN_WAIT_TIME));
|
||||
SCM_CANCEL_SCAN_WAIT_TIME);
|
||||
max_wait_iterations--;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue