qcacmn: Interpret delayed work interval as milliseconds
The QDF delayed work APIs currently expect delay intervals in terms of jiffies. Since QDF is OS agnostic, and jiffies are Linux specific, interpret delay intervals in terms of milliseconds instead. This aligns the delayed work APIs with the general timer APIs as well. Change-Id: I9b9300425baa0857c35f63823de2037a954eed1f CRs-Fixed: 2111987
This commit is contained in:

committed by
pramod kotreshappa

parent
ce94494ad3
commit
37dd1494e6
@@ -173,7 +173,7 @@ qdf_queue_work(qdf_handle_t hdl, qdf_workqueue_t *wqueue, qdf_work_t *work)
|
||||
* @hdl: OS handle
|
||||
* @wqueue: pointer to workqueue
|
||||
* @work: pointer to work
|
||||
* @delay: delay interval
|
||||
* @delay: delay interval in milliseconds
|
||||
* Return: none
|
||||
*/
|
||||
static inline void qdf_queue_delayed_work(qdf_handle_t hdl,
|
||||
@@ -223,7 +223,7 @@ static inline void qdf_sched_work(qdf_handle_t hdl, qdf_work_t *work)
|
||||
* qdf_sched_delayed_work() - Schedule a delayed task
|
||||
* @hdl: OS handle
|
||||
* @work: pointer to delayed work
|
||||
* @delay: delay interval
|
||||
* @delay: delay interval in milliseconds
|
||||
* Return: none
|
||||
*/
|
||||
static inline void qdf_sched_delayed_work(qdf_handle_t hdl,
|
||||
|
Reference in New Issue
Block a user