summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingying Tang <yintang@codeaurora.org>2017-03-23 15:46:03 +0800
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-28 04:52:03 -0700
commit582f219ab90d48e9f8ffe337a6b660626064bd66 (patch)
treea9926ec10701aaa9d9d50290c93bb5a2a03757f2
parent8268443f251c26443955b4f6e23a28fe9ba4eb30 (diff)
qcacld-3.0: Fix compilation error without WLAN_FEATURE_ROAM_OFFLOAD
eWNI_SME_HO_FAIL_IND is defined under WLAN_FEATURE_ROAM_OFFLOAD, but it is used out of WLAN_FEATURE_ROAM_OFFLOAD, it will cause compilation error. Add fix to resolve this issue. Change-Id: I7dda8806ecadc4dd8c8c1d7f14cc7bc21bdc2bf7 CRs-Fixed: 2023694
-rw-r--r--core/mac/src/sys/legacy/src/utils/src/mac_trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/mac/src/sys/legacy/src/utils/src/mac_trace.c b/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
index 9ee229daec56..b62933c41918 100644
--- a/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
+++ b/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
@@ -335,7 +335,9 @@ uint8_t *mac_trace_get_sme_msg_string(uint16_t sme_msg)
CASE_RETURN_STRING(eWNI_SME_AUTO_SHUTDOWN_IND);
#endif
CASE_RETURN_STRING(eWNI_SME_SET_HT_2040_MODE);
+#ifdef WLAN_FEATURE_ROAM_OFFLOAD
CASE_RETURN_STRING(eWNI_SME_HO_FAIL_IND);
+#endif
#ifdef FEATURE_WLAN_TDLS
CASE_RETURN_STRING(eWNI_SME_TDLS_SEND_MGMT_REQ);
CASE_RETURN_STRING(eWNI_SME_TDLS_SEND_MGMT_RSP);