blob: 6d2ad8d37bc5a9e297c6402aea9474a6a2bf1483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Index: mt76x2e-3.0.4.0/rlt_wifi/common/cmm_data.c
===================================================================
--- mt76x2e-3.0.4.0.orig/rlt_wifi/common/cmm_data.c
+++ mt76x2e-3.0.4.0/rlt_wifi/common/cmm_data.c
@@ -1997,8 +1997,7 @@ VOID RTMPDeQueuePacket(
#endif /* DBG_TX_RING_DEPTH */
#endif /* DBG_DIAGNOSE */
- if (FreeNumber[QueIdx] <= 5 ||
- (pAd->RalinkCounters.OneSecTxRetryOkCount + pAd->RalinkCounters.OneSecTxNoRetryOkCount) <= (TX_RING_SIZE >> 1))
+ if (FreeNumber[QueIdx] <= 5 )
{
/* free Tx(QueIdx) resources*/
RTMPFreeTXDUponTxDmaDone(pAd, QueIdx);
|