qcacld-3.0: Enable FEATURE_WLAN_MCC_TO_SCC_SWITCH flag in the driver
Enable feature flag FEATURE_WLAN_MCC_TO_SCC_SWITCH in the Kbuild to
make use of the MCC to SCC switch feature. The resulting errors in
compilation are fixed along with some enhancement in the debug logs
in this feature path
Change-Id: I0ddb2f371c28ade6d8fc9ea12ba104a99394827f
CRs-Fixed: 986079
diff --git a/Kbuild b/Kbuild
index 0fad9ca..7904816 100755
--- a/Kbuild
+++ b/Kbuild
@@ -135,6 +135,9 @@
# Flag to enable LFR Subnet Detection
CONFIG_LFR_SUBNET_DETECTION := y
+
+ # Flag to enable MCC to SCC switch feature
+ CONFIG_MCC_TO_SCC_SWITCH := y
endif
# If not set, assume, Common driver is with in the build tree
@@ -1363,6 +1366,10 @@
CDEFINES += -DFEATURE_LFR_SUBNET_DETECTION
endif
+ifeq ($(CONFIG_MCC_TO_SCC_SWITCH), y)
+CDEFINES += -DFEATURE_WLAN_MCC_TO_SCC_SWITCH
+endif
+
KBUILD_CPPFLAGS += $(CDEFINES)
# Currently, for versions of gcc which support it, the kernel Makefile