Kaynağa Gözat

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
Yingying Tang 8 yıl önce
ebeveyn
işleme
e145876c21

+ 2 - 0
core/mac/src/sys/legacy/src/utils/src/mac_trace.c

@@ -327,7 +327,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);