|
@@ -745,10 +745,10 @@ QDF_STATUS qdf_mc_timer_stop(qdf_mc_timer_t *timer)
|
|
|
|
|
|
timer->state = QDF_TIMER_STATE_STOPPED;
|
|
|
|
|
|
- del_timer(&(timer->platform_info.timer));
|
|
|
-
|
|
|
qdf_spin_unlock_irqrestore(&timer->platform_info.spinlock);
|
|
|
|
|
|
+ del_timer(&(timer->platform_info.timer));
|
|
|
+
|
|
|
qdf_try_allowing_sleep(timer->type);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
@@ -787,9 +787,8 @@ QDF_STATUS qdf_mc_timer_stop_sync(qdf_mc_timer_t *timer)
|
|
|
|
|
|
timer->state = QDF_TIMER_STATE_STOPPED;
|
|
|
|
|
|
- del_timer_sync(&(timer->platform_info.timer));
|
|
|
-
|
|
|
qdf_spin_unlock_irqrestore(&timer->platform_info.spinlock);
|
|
|
+ del_timer_sync(&(timer->platform_info.timer));
|
|
|
|
|
|
qdf_try_allowing_sleep(timer->type);
|
|
|
|