qcacld-3.0: Fix compilation issue when ROAM_OFFLOAD disabled

When ROAM_OFFLOAD feature is not enabled facing compilation issue for
smk_get_pmk_inf() api, adjust or move api to header file to resolve
compilation error.

Change-Id: I3eb03657f8ee5a68fa25f0d99a4dddc44cbaac02
This commit is contained in:
Karthik Kantamneni 2019-01-25 11:56:58 +05:30 • committed by nshrivas
commit 205482978d
2 changed files with 5 additions and 5 deletions

View file

@ -520,6 +520,11 @@ void sme_get_pmk_info(mac_handle_t mac_handle, uint8_t session_id,
QDF_STATUS sme_roam_set_psk_pmk(mac_handle_t mac_handle, uint8_t sessionId,
uint8_t *pPSK_PMK, size_t pmk_len);
#else
static inline
void sme_get_pmk_info(mac_handle_t mac_handle, uint8_t session_id,
tPmkidCacheInfo *pmk_cache)
{}
#endif
/**

View file

@ -3131,11 +3131,6 @@ void sme_get_pmk_info(mac_handle_t mac_handle, uint8_t session_id,
sme_release_global_lock(&mac_ctx->sme);
}
}
#else
static inline
void sme_get_pmk_info(mac_handle_t mac_handle, uint8_t session_id,
tPmkidCacheInfo *pmk_cache)
{}
#endif
#ifdef WLAN_FEATURE_ROAM_OFFLOAD