wlan: WDA: Print debug log only when DXE DONE indication fails
While processing DXE done indication in WDA layer, don't print
debug log if WDI returns status as WDI_STATUS_PENDING or
WDI_STATUS_SUCCESS_SYNC.
Change-Id: I3c72ddf5d28011d1f6fe68cbc048ed56fcc9edc3
CRs-Fixed: 909226.
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index 9c2ea0d..e35a088 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -17648,7 +17648,7 @@
WDI_Status status;
status = WDI_FWLoggingDXEdoneInd(logType);
- if (WDI_STATUS_SUCCESS_SYNC != status)
+ if (!(WDI_STATUS_SUCCESS_SYNC == status || WDI_STATUS_PENDING == status))
{
VOS_TRACE( VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR,
FL("Failure status %d"), status);