diff options
| author | Nirav Shah <nnshah@codeaurora.org> | 2016-04-15 14:02:11 +0530 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-04-25 22:52:55 -0700 |
| commit | 194ce08855b8eeedfb49bb61269e94f291cae692 (patch) | |
| tree | c5f94fde61a06c3a692e1400824b9ac454998791 /core | |
| parent | 0696eef313b507aacbd7b3864a52869013851e5f (diff) | |
qcacld-3.0: Add HTT packet in misc_list to avoid memleak
Add HTT packet buffer in misc_list for
HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG command to avoid memleak.
Change-Id: I1c3fb6232c4b7dab6c10459d53e611d3358b69cc
CRs-Fixed: 1001996
Diffstat (limited to 'core')
| -rw-r--r-- | core/dp/htt/htt_h2t.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/dp/htt/htt_h2t.c b/core/dp/htt/htt_h2t.c index a1c020279d4c..9662eb4d6980 100644 --- a/core/dp/htt/htt_h2t.c +++ b/core/dp/htt/htt_h2t.c @@ -178,6 +178,10 @@ A_STATUS htt_h2t_frag_desc_bank_cfg_msg(struct htt_pdev_t *pdev) SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msg); rc = htc_send_pkt(pdev->htc_pdev, &pkt->htc_pkt); +#ifdef ATH_11AC_TXCOMPACT + if (rc == A_OK) + htt_htc_misc_pkt_list_add(pdev, pkt); +#endif return rc; } |
