qcacmn: Log timer callback info
If qdf timer is already running and a module calls it again, log the timer callback info to see why that module is calling it again. Change-Id: I47e9d33a2a144a0a779f71b50dbabea227c4b362 CRs-Fixed: 2546070
This commit is contained in:
@@ -670,8 +670,8 @@ QDF_STATUS qdf_mc_timer_start(qdf_mc_timer_t *timer, uint32_t expiration_time)
|
||||
if (QDF_TIMER_STATE_STOPPED != timer->state) {
|
||||
qdf_spin_unlock_irqrestore(&timer->platform_info.spinlock);
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s: Cannot start timer in state = %d ", __func__,
|
||||
timer->state);
|
||||
"%s: Cannot start timer in state = %d %ps",
|
||||
__func__, timer->state, (void *)timer->callback);
|
||||
return QDF_STATUS_E_ALREADY;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user