|
@@ -3690,6 +3690,8 @@ static void hdd_check_for_objmgr_leaks(struct hdd_context *hdd_ctx)
|
|
|
if (!psoc)
|
|
|
return;
|
|
|
|
|
|
+ wlan_psoc_obj_lock(psoc);
|
|
|
+
|
|
|
hdd_check_for_objmgr_peer_leaks(psoc);
|
|
|
|
|
|
wlan_objmgr_for_each_psoc_vdev(psoc, vdev_id, vdev) {
|
|
@@ -3712,6 +3714,7 @@ static void hdd_check_for_objmgr_leaks(struct hdd_context *hdd_ctx)
|
|
|
wlan_objmgr_for_each_refs(ref_id_dbg, ref_id, refs)
|
|
|
wlan_objmgr_pdev_release_ref(pdev, ref_id);
|
|
|
}
|
|
|
+ wlan_psoc_obj_unlock(psoc);
|
|
|
}
|
|
|
|
|
|
static void hdd_check_for_leaks(struct hdd_context *hdd_ctx, bool is_ssr)
|