prima: Pass the wdiTxBdInd if fw supports ENHANCED_TXBD_COMPLETION
wdiTxBdInd has tx_complete_status and tx_bd_token.
Pass the wdiTxBdInd if fw supports ENHANCED_TXBD_COMPLETION.
Change-Id: I099bf1b49873a480af9e4d7f96bed59009f5def9
CRs-Fixed: 852492
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index 496e845..90840ca 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -14410,7 +14410,7 @@
VOS_TRACE( VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR,
"Tx Complete timeout Timer Stop Failed ");
}
- if (IS_FEATURE_SUPPORTED_BY_FW(ENHANCED_TXBD_COMPLETION))
+ if (!IS_FEATURE_SUPPORTED_BY_FW(ENHANCED_TXBD_COMPLETION))
pWDA->pAckTxCbFunc( pMac, &wdiLowLevelInd->wdiIndicationData.tx_complete_status);
else
pWDA->pAckTxCbFunc( pMac, &wdiLowLevelInd->wdiIndicationData.wdiTxBdInd);