qcacld-3.0: Fix compilation issue with CONFIG_QCACLD_WLAN_LFR2 disabled

With feature flag for LFR2 disabled, there is compilation
failure in the wlan host driver.

Fix the compilation issues.

Change-Id: Ic21ccd0b313c6690c72a6546eba30c1ecb306cb0
CRs-Fixed: 2453298
This commit is contained in:
Pragaspathi Thilagaraj 2019-05-15 18:03:26 +05:30 • committed by nshrivas
commit 0f81a6a4b3
2 changed files with 9 additions and 4 deletions

View file

@ -1447,6 +1447,9 @@ typedef void (*tCsrSnrCallback)(int8_t snr, uint32_t staId, void *pContext);
QDF_STATUS csr_roam_issue_ft_preauth_req(struct mac_context *mac_ctx,
uint32_t session_id,
struct bss_description *bss_desc);
QDF_STATUS csr_continue_lfr2_connect(struct mac_context *mac,
uint32_t session_id);
#else
static inline
QDF_STATUS csr_roam_issue_ft_preauth_req(struct mac_context *mac_ctx,
@ -1455,11 +1458,13 @@ QDF_STATUS csr_roam_issue_ft_preauth_req(struct mac_context *mac_ctx,
{
return QDF_STATUS_E_NOSUPPORT;
}
#endif
#ifdef WLAN_FEATURE_HOST_ROAM
static inline
QDF_STATUS csr_continue_lfr2_connect(struct mac_context *mac,
uint32_t session_id);
uint32_t session_id)
{
return QDF_STATUS_E_NOSUPPORT;
}
#endif
typedef void (*csr_readyToSuspendCallback)(void *pContext, bool suspended);

View file

@ -9320,6 +9320,7 @@ static void csr_roam_roaming_state_stop_bss_rsp_processor(struct mac_context *ma
}
}
#ifdef WLAN_FEATURE_HOST_ROAM
/**
* csr_dequeue_command() - removes a command from active cmd list
* @mac: mac global context
@ -9457,7 +9458,6 @@ csr_check_profile_in_scan_cache(struct mac_context *mac_ctx,
return true;
}
#ifdef WLAN_FEATURE_HOST_ROAM
static
QDF_STATUS csr_roam_lfr2_issue_connect(struct mac_context *mac,
uint32_t session_id,