diff --git a/components/pmo/core/src/wlan_pmo_suspend_resume.c b/components/pmo/core/src/wlan_pmo_suspend_resume.c index 81c15d9d676f..8d52d1f13e62 100644 --- a/components/pmo/core/src/wlan_pmo_suspend_resume.c +++ b/components/pmo/core/src/wlan_pmo_suspend_resume.c @@ -810,8 +810,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc, pmo_info("RTPM wow"); } - if ((psoc_cfg) && - (psoc_cfg->is_mod_dtim_on_sys_suspend_enabled)) { + if (psoc_cfg->is_mod_dtim_on_sys_suspend_enabled) { pmo_info("mod DTIM enabled"); param.flags |= WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND; }