mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Fix compiling issue of qdf_platform
qdf_platform.h/qdf_platform.c is only used by MCL Change-Id: I8172f3dbe0716be24a4dda739afb49f94528a4f6 CRs-Fixed: 2310882
This commit is contained in:
parent
5a9b87fd93
commit
ff034e9797
1 changed files with 4 additions and 0 deletions
|
|
@ -30,7 +30,9 @@
|
|||
#include <target_if_reg.h>
|
||||
#include <wmi_unified_reg_api.h>
|
||||
#include <wlan_reg_ucfg_api.h>
|
||||
#ifdef CONFIG_MCL
|
||||
#include <qdf_platform.h>
|
||||
#endif
|
||||
|
||||
static inline uint32_t get_chan_list_cc_event_id(void)
|
||||
{
|
||||
|
|
@ -103,10 +105,12 @@ static int tgt_reg_chan_list_update_handler(ol_scn_t handle,
|
|||
|
||||
TARGET_IF_ENTER();
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
if (qdf_is_fw_down()) {
|
||||
target_if_debug("ignore chan list update evt in ssr");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
psoc = target_if_get_psoc_from_scn_hdl(handle);
|
||||
if (!psoc) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue