summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYun Park <yunp@qca.qualcomm.com>2016-01-14 10:28:45 -0800
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-02-01 15:01:55 +0530
commita4dcdd1af218afbe2ccff011a65459150e1200fd (patch)
tree2fb045bf5d84125f514c578e628ada165ece80ed
parent87b045be48a2cc79388ee183d919d4078197c228 (diff)
qcacld:IPA-uC: Set allocated Tx buff count when reaches at the limit
Fix to set allocated Tx buffer count when the buffer allocation failed by reaching at the memory limit before preconfigured Tx buffer count. Change-Id: I08055e372a0efc84c55dcce7225a0017445d7941 CRs-Fixed: 962344
-rw-r--r--CORE/CLD_TXRX/HTT/htt_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/CLD_TXRX/HTT/htt_tx.c b/CORE/CLD_TXRX/HTT/htt_tx.c
index 027c86dbe7c6..82858c140f46 100644
--- a/CORE/CLD_TXRX/HTT/htt_tx.c
+++ b/CORE/CLD_TXRX/HTT/htt_tx.c
@@ -771,7 +771,7 @@ int htt_tx_ipa_uc_attach(struct htt_pdev_t *pdev,
{
adf_os_print("%s: TX BUF alloc fail, allocated buffer count %d",
__func__, tx_buffer_count);
- return 0;
+ break;
}
/* Init buffer */