Selaa lähdekoodia

qcacld-3.0: Check pdevs in hdd_check_for_leaks

Before checking for other kinds of resources leaks, check to ensure all
objmgr pdevs have been properly freed.

Change-Id: I026a9e7497f593ba1d69fe220bbe0a33828811d3
CRs-Fixed: 2267144
Dustin Brown 7 vuotta sitten
vanhempi
sitoutus
2946296b04
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      core/hdd/src/wlan_hdd_main.c

+ 1 - 0
core/hdd/src/wlan_hdd_main.c

@@ -2649,6 +2649,7 @@ static void hdd_check_for_leaks(struct hdd_context *hdd_ctx)
 	/* DO NOT REMOVE these checks; for false positives, read above first */
 
 	wlan_objmgr_psoc_check_for_vdev_leaks(hdd_ctx->hdd_psoc);
+	wlan_objmgr_psoc_check_for_pdev_leaks(hdd_ctx->hdd_psoc);
 	qdf_mc_timer_check_for_leaks();
 	qdf_nbuf_map_check_for_leaks();
 	qdf_mem_check_for_leaks();