summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjeet Singh <manjee@codeaurora.org>2017-03-08 18:14:18 +0530
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-21 05:29:11 -0700
commiteff70d2442139552bc29ea30f0071bc9dfb5351c (patch)
tree2a262f4eba32f280ffd3dd28b2aa86bcf6ff63c7
parent0c9a65742cc589096c1a74093a7c41c4ba6d9a57 (diff)
qcacld-3.0: Correct sme_set_5g_band_pref definition
sme_set_5g_band_pref is declared inside FEATURE_WLAN_ESE feature flag by mistake which can cause a symbol undefined error if FEATURE_WLAN_ESE is not declared. Move sme_set_5g_band_pref outside of conditional block FEATURE_WLAN_ESE. Change-Id: I80b045100b068d08873b136fdf676e99e36a57cd CRs-Fixed: 2016629
-rw-r--r--core/sme/src/common/sme_api.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index 73ff75d5ab78..b9cf1f78a710 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -17346,9 +17346,9 @@ bool sme_roam_is_ese_assoc(tCsrRoamInfo *roam_info)
{
return roam_info->isESEAssoc;
}
-
+#endif
/**
- * sme_set_band_specific_pref(): If 5G preference is enabled,set boost/drop
+ * sme_set_5g_band_pref(): If 5G preference is enabled,set boost/drop
* params from ini.
* @hal_handle: Handle returned by mac_open
* @5g_pref_params: pref params from ini.
@@ -17390,7 +17390,6 @@ void sme_set_5g_band_pref(tHalHandle hal_handle,
"Unable to acquire global sme lock");
}
-#endif
bool sme_neighbor_roam_is11r_assoc(tHalHandle hal_ctx,
uint8_t session_id)