wlan: Revert CL650969 TL Low resource problem fix.
Above CL introduce functional side dffect
CR-Fixed : NA
Change-Id: I78ae1eb90f28de99356c440d55380011d3c655dd
diff --git a/CORE/TL/src/wlan_qct_tl.c b/CORE/TL/src/wlan_qct_tl.c
index 50767dd..8aa0a5a 100644
--- a/CORE/TL/src/wlan_qct_tl.c
+++ b/CORE/TL/src/wlan_qct_tl.c
@@ -1704,8 +1704,6 @@
VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_ERROR,
"WLAN TL:Packet pending indication for STA: %d AC: %d State: %d",
ucSTAId, ucAc, pTLCb->atlSTAClients[ucSTAId].tlState);
-
- WDA_TransportChannelDebug(pvosGCtx, 1, 0, VOS_FALSE);
}
/*-----------------------------------------------------------------------
@@ -1727,7 +1725,8 @@
Check if there are enough resources for transmission and tx is not
suspended.
------------------------------------------------------------------------*/
- if ( 0 == pTLCb->ucTxSuspended )
+ if (( pTLCb->uResCount >= WDA_TLI_MIN_RES_DATA ) &&
+ ( 0 == pTLCb->ucTxSuspended ))
{
TLLOG2(VOS_TRACE( VOS_MODULE_ID_TL, VOS_TRACE_LEVEL_INFO_HIGH,
"Issuing Xmit start request to BAL"));