qcacmn: Add return as int for qdf hrtimer cancel

Add return value as int to check the success and failure of hrtimer cancel.

CRs-Fixed: 2292414
Change-Id: I7bfe94882551533c3f6b4164a2a3f778216b281b
This commit is contained in:
Alok Singh
2018-08-07 12:02:05 +05:30
committed by nshrivas
parent 3952f2b86c
commit 18fcc5548a
2 changed files with 9 additions and 7 deletions

View File

@@ -58,12 +58,12 @@ void qdf_hrtimer_start(qdf_hrtimer_data_t *timer, qdf_ktime_t interval,
*
* Cancels hrtimer in given context
*
* Return: void
* Return: int
*/
static inline
void qdf_hrtimer_cancel(qdf_hrtimer_data_t *timer)
int qdf_hrtimer_cancel(qdf_hrtimer_data_t *timer)
{
__qdf_hrtimer_cancel(timer);
return __qdf_hrtimer_cancel(timer);
}
/**