qcacmn: Remove MCL_CONFIG flag
In file wmi_unified.c use appropriate config
flags instead of MCL_CONFIG flag.
Change-Id: I9e43f8853ddd93221679cefa50b4f7b239d2abdb
CRs-Fixed: 2491383
diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c
index 5a48cf6..584e8c1 100644
--- a/wmi/src/wmi_unified.c
+++ b/wmi/src/wmi_unified.c
@@ -1627,7 +1627,7 @@
*
* Return: true if the command is part of the resume sequence.
*/
-#ifdef CONFIG_MCL
+#ifdef WLAN_POWER_MANAGEMENT_OFFLOAD
static bool wmi_is_pm_resume_cmd(uint32_t cmd_id)
{
switch (cmd_id) {
@@ -1640,6 +1640,15 @@
}
}
+#else
+static bool wmi_is_pm_resume_cmd(uint32_t cmd_id)
+{
+ return false;
+}
+
+#endif
+
+#ifdef FEATURE_WLAN_D0WOW
static bool wmi_is_legacy_d0wow_disable_cmd(wmi_buf_t buf, uint32_t cmd_id)
{
wmi_d0_wow_enable_disable_cmd_fixed_param *cmd;
@@ -1656,15 +1665,11 @@
return false;
}
#else
-static bool wmi_is_pm_resume_cmd(uint32_t cmd_id)
-{
- return false;
-}
-
static bool wmi_is_legacy_d0wow_disable_cmd(wmi_buf_t buf, uint32_t cmd_id)
{
return false;
}
+
#endif
static inline void wmi_unified_debug_dump(wmi_unified_t wmi_handle)