Kaynağa Gözat

qcacmn: Destroy WMI eventq_lock in WMI detach

eventq_lock is not destroyed in WMI detach.
Destroy WMI eventq_lock in WMI detach.

Change-Id: Ia60ec83cf776a3ceef75274b1bcb5dcca2594763
CRs-Fixed: 1021376
Govind Singh 8 yıl önce
ebeveyn
işleme
89298eaabc
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      wmi/src/wmi_unified.c

+ 1 - 0
wmi/src/wmi_unified.c

@@ -2201,6 +2201,7 @@ void wmi_unified_detach(struct wmi_unified *wmi_handle)
 #endif
 
 	qdf_spin_unlock_bh(&wmi_handle->eventq_lock);
+	qdf_spinlock_destroy(&wmi_handle->eventq_lock);
 	qdf_spinlock_destroy(&wmi_handle->ctx_lock);
 	if (wmi_handle != NULL) {
 		OS_FREE(wmi_handle);