Pārlūkot izejas kodu

qcacmn: Fix to remove mutex warnings

Mutex cannot be acquired or released from
interrupt context.
To fix the warning in log, do not acquire
or release log in while stopping t2lm timer

Change-Id: Ie1e885b162a22e327d3260fecbd71153b947e11b
CRs-Fixed: 3444779
Amruta Kulkarni 2 gadi atpakaļ
vecāks
revīzija
d325372a5c
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      umac/mlo_mgr/src/wlan_mlo_t2lm.c

+ 0 - 2
umac/mlo_mgr/src/wlan_mlo_t2lm.c

@@ -962,14 +962,12 @@ wlan_mlo_t2lm_timer_stop(struct wlan_objmgr_vdev *vdev)
 		return QDF_STATUS_E_NULL_VALUE;
 	}
 
-	t2lm_dev_lock_acquire(&vdev->mlo_dev_ctx->t2lm_ctx);
 	if (t2lm_timer->timer_started) {
 		qdf_timer_stop(&t2lm_timer->t2lm_timer);
 		t2lm_timer->timer_started = false;
 		t2lm_timer->timer_interval = 0;
 		t2lm_timer->timer_out_time = 0;
 	}
-	t2lm_dev_lock_release(&vdev->mlo_dev_ctx->t2lm_ctx);
 	return QDF_STATUS_SUCCESS;
 }