|
@@ -4175,7 +4175,6 @@ static void hdd_check_for_objmgr_peer_leaks(struct wlan_objmgr_psoc *psoc)
|
|
|
|
|
|
/* get module id which cause the leak and release ref */
|
|
|
wlan_objmgr_for_each_psoc_vdev(psoc, vdev_id, vdev) {
|
|
|
- wlan_vdev_obj_lock(vdev);
|
|
|
wlan_objmgr_for_each_vdev_peer(vdev, peer) {
|
|
|
qdf_atomic_t *ref_id_dbg;
|
|
|
int ref_id;
|
|
@@ -4185,7 +4184,6 @@ static void hdd_check_for_objmgr_peer_leaks(struct wlan_objmgr_psoc *psoc)
|
|
|
wlan_objmgr_for_each_refs(ref_id_dbg, ref_id, refs)
|
|
|
wlan_objmgr_peer_release_ref(peer, ref_id);
|
|
|
}
|
|
|
- wlan_vdev_obj_unlock(vdev);
|
|
|
}
|
|
|
}
|
|
|
|