From ab5cc6ec9256e2f687fffd5d01131307ad05150f Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Wed, 15 Aug 2018 21:53:49 +0530 Subject: [PATCH] qcacld-3.0: Enable compile time flag WLAN_OBJMGR_REF_ID_DEBUG Ref id debug support adds an array of atomic_t to peer object which significantly increases peer object size. Move this debug support under the compile time flag WLAN_OBJMGR_REF_ID_DEBUG to save memory. Enable the compile time flag WLAN_OBJMGR_REF_ID_DEBUG for mcl. Change-Id: Ie618bd049270d23def6ca37542f1e2948b6d32b5 CRs-Fixed: 2297976 --- Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/Kbuild b/Kbuild index 0cd56b88cf58..31efed7aab8c 100755 --- a/Kbuild +++ b/Kbuild @@ -1866,6 +1866,7 @@ cppflags-$(CONFIG_WLAN_POWER_DEBUGFS) += -DWLAN_POWER_DEBUGFS # Enable object manager reference count debug infrastructure cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_DEBUG +cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_REF_ID_DEBUG cppflags-$(CONFIG_WLAN_FEATURE_SAE) += -DWLAN_FEATURE_SAE