wlan: Fix compilation error when BUILD_DIAG_VERSION is enabled.
Fix compilation error when BUILD_DIAG_VERSION is enabled for self-host
logging.
Change-Id: I93c3ab41408653f25ae1a7ef3cf54782dbb008a9
CRs-fixed: 514653
diff --git a/CORE/MAC/src/pe/lim/limFT.c b/CORE/MAC/src/pe/lim/limFT.c
index 1c46116..369515f 100644
--- a/CORE/MAC/src/pe/lim/limFT.c
+++ b/CORE/MAC/src/pe/lim/limFT.c
@@ -956,8 +956,9 @@
PELOGE(limLog( pMac, LOGE, "Posted Auth Rsp to SME with status of 0x%x", status);)
#endif
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM //FEATURE_WLAN_DIAG_SUPPORT
- if( status == eHAL_STATUS_SUCCESS )
- limDiagEventReport(pMac, WLAN_PE_DIAG_PREAUTH_DONE, psessionEntry, status, 0);
+ if (status == eSIR_SUCCESS)
+ limDiagEventReport(pMac, WLAN_PE_DIAG_PREAUTH_DONE, psessionEntry,
+ status, 0);
#endif
limSysProcessMmhMsgApi(pMac, &mmhMsg, ePROT);
}