diff options
| author | Himanshu Agarwal <himanaga@codeaurora.org> | 2017-08-22 15:48:07 +0530 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-08-22 16:38:02 -0700 |
| commit | 79c093cb71eb32eebcf1e73d133f92bf758a0171 (patch) | |
| tree | dd70a2223790df90fcb78add4116bfe0ed886634 | |
| parent | feb3068740328ee43ba9558ad07abe4ec51ad770 (diff) | |
qcacld-3.0: Do memzero of htt_frag_desc inside HELIUMPLUS flag
Do memzero of htt_frag_desc inside HELIUMPLUS flag as
htt_frag_desc is defined only for HELIUMPLUS.
Change-Id: Ie738881c5330956b24376f145f03dd977bf88f7b
CRs-Fixed: 2096935
| -rw-r--r-- | core/dp/txrx/ol_tx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/dp/txrx/ol_tx.c b/core/dp/txrx/ol_tx.c index 6f743056d04b..5e189adfa1ed 100644 --- a/core/dp/txrx/ol_tx.c +++ b/core/dp/txrx/ol_tx.c @@ -563,7 +563,10 @@ ol_tx_prepare_ll_fast(struct ol_txrx_pdev_t *pdev, } htt_tx_desc = tx_desc->htt_tx_desc; + +#if defined(HELIUMPLUS) qdf_mem_zero(tx_desc->htt_frag_desc, sizeof(struct msdu_ext_desc_t)); +#endif /* Make sure frags num is set to 0 */ /* |
