Browse Source

qcacld-3.0: Add Ref Leak related flags under CONFIG_CNSS2_DEBUG

Currently Vdev Ref leak functions (eg: wlan_objmgr_print_ref_func_line)
are not being compiled in defconfig due to compilation flags.
Fix this by moving appropriate flags under the CONFIG_CNSS2_DEBUG flag.

Change-Id: I34e69680b3959232be17d1a10cd581903ad1a64a
CRs-Fixed: 3292744
Mohammed Ahmed 2 years ago
parent
commit
8e6a33e431
1 changed files with 2 additions and 0 deletions
  1. 2 0
      configs/default_defconfig

+ 2 - 0
configs/default_defconfig

@@ -1293,6 +1293,8 @@ ifeq ($(CONFIG_CNSS2_DEBUG), y)
 	CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y
 	CONFIG_HAL_DEBUG := y
 	CONFIG_ATH_DIAG_EXT_DIRECT := y
+	CONFIG_WLAN_OBJMGR_DEBUG:= y
+	CONFIG_WLAN_OBJMGR_REF_ID_TRACE := y
 endif
 
 	CONFIG_HIF_DEBUG := y