From 052b32a5b3e25ea82ab38484c58ee6486f24fb10 Mon Sep 17 00:00:00 2001 From: tfyu Date: Wed, 20 Sep 2017 18:48:33 +0800 Subject: [PATCH] qcacmn: Fix incorrect number ul_outstanding_cnt when do TX bundle qcacld-2.0 to qcacmn propagation The ul_outstanding_cnt is not increasing when do TX sending in the bundle. Which will cause the count is not correct, and will drop to the negative number. Change-Id: If7f06b376633b3384203cc49d8e8acafdd1b4853 CRs-Fixed: 2112977 --- htc/htc_send.c | 1 + 1 file changed, 1 insertion(+) diff --git a/htc/htc_send.c b/htc/htc_send.c index 7503469abb8e..2b5ae2b021f2 100644 --- a/htc/htc_send.c +++ b/htc/htc_send.c @@ -422,6 +422,7 @@ static QDF_STATUS htc_send_bundled_netbuf(HTC_TARGET *target, pEndpoint->Id, HTC_TX_PACKET_TAG_BUNDLED); LOCK_HTC_TX(target); HTC_PACKET_ENQUEUE(&pEndpoint->TxLookupQueue, pPacketTx); + pEndpoint->ul_outstanding_cnt++; UNLOCK_HTC_TX(target); #if DEBUG_BUNDLE qdf_print(" Send bundle EP%d buffer size:0x%x, total:0x%x, count:%d.\n",