qcacld-3.0: Use CONFIG_SLUB_DEBUG_ON to enable debug flag

Use CONFIG_SLUB_DEBUG_On to enable certain flags. This ensures that
these flags are not enabled for PERF builds.

Change-Id: I8c8e032ca1a0344f12fbad4dca543e333d601916
CRs-Fixed: 3045963
This commit is contained in:
Mohit Khanna
2021-11-15 01:06:05 -08:00
committed by Madan Koyyalamudi
parent 49760b669f
commit f81d89ccca

View File

@@ -507,7 +507,7 @@ CONFIG_LFR_SUBNET_DETECTION := y
# Flag to enable MCC to SCC switch feature # Flag to enable MCC to SCC switch feature
CONFIG_MCC_TO_SCC_SWITCH := y CONFIG_MCC_TO_SCC_SWITCH := y
ifeq ($(CONFIG_SLUB_DEBUG), y) ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
# Enable Obj Mgr Degug services if slub build # Enable Obj Mgr Degug services if slub build
CONFIG_WLAN_OBJMGR_DEBUG:= y CONFIG_WLAN_OBJMGR_DEBUG:= y
CONFIG_MPC_UT_FRAMEWORK := y CONFIG_MPC_UT_FRAMEWORK := y