From feecb9f3437ea9f6978208b7f07d66c31b4bdd05 Mon Sep 17 00:00:00 2001 From: Om Prakash Tripathi Date: Tue, 19 Feb 2019 16:56:32 +0530 Subject: [PATCH] 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 --- umac/scan/dispatcher/src/wlan_scan_ucfg_api.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c index 6d3fdbcf7796..fde836174c67 100644 --- a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c +++ b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c @@ -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--; } }