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
This commit is contained in:

committed by
Vishwajith Upendra

parent
ae91c40e3f
commit
20e7a06bfa
@@ -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);
|
||||
|
Reference in New Issue
Block a user