mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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
This commit is contained in:
parent
e6eeca68f3
commit
63b4f6a57e
1 changed files with 11 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue