From 63b4f6a57e722ab3b81eebe6d2c2b7beb37d87fa Mon Sep 17 00:00:00 2001 From: Bala Venkatesh Date: Wed, 17 Jul 2019 11:43:08 +0530 Subject: [PATCH] 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 --- wmi/src/wmi_unified.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index 5a48cf6bc337..584e8c1bbd91 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -1627,7 +1627,7 @@ static inline void wmi_log_cmd_id(uint32_t cmd_id, uint32_t tag) * * 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 @@ static bool wmi_is_pm_resume_cmd(uint32_t cmd_id) } } +#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 @@ static bool wmi_is_legacy_d0wow_disable_cmd(wmi_buf_t buf, uint32_t cmd_id) 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)