ソースを参照

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
tfyu 7 年 前
コミット
052b32a5b3
1 ファイル変更1 行追加0 行削除
  1. 1 0
      htc/htc_send.c

+ 1 - 0
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",