diff options
| author | Naveen Rawat <naveenrawat@codeaurora.org> | 2017-01-10 17:54:36 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-11 20:54:21 -0800 |
| commit | d7355b0d8a4639e9cb52030f3a66841532d8599c (patch) | |
| tree | c1566cf0a6531826f8b075d2c1c8a77b3ead120c | |
| parent | 9935f8c51bdca956235fb1d42c4f9864eb8a7895 (diff) | |
qcacld-3.0: Update mgmt_param.pdata when frame is re-allocated
In function wma_tx_packet, update mgmt_param.pdata when frame's nbug is
re-allocated to accommodate MMIE or CCMP header.
Change-Id: Ib83457ee52f8c9b52eb9d8b4bc472ed48689ede3
CRs-Fixed: 1109668
| -rw-r--r-- | core/wma/src/wma_data.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/wma/src/wma_data.c b/core/wma/src/wma_data.c index f735a8afc68f..9cc90821ffe0 100644 --- a/core/wma/src/wma_data.c +++ b/core/wma/src/wma_data.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -2588,6 +2588,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen, cds_packet_free((void *)tx_frame); tx_frame = pPacket; + pData = pFrame; frmLen = newFrmLen; pFc = (tpSirMacFrameCtl) (qdf_nbuf_data(tx_frame)); @@ -2629,6 +2630,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen, } cds_packet_free((void *)tx_frame); tx_frame = pPacket; + pData = pFrame; frmLen = newFrmLen; pFc = (tpSirMacFrameCtl) (qdf_nbuf_data(tx_frame)); } |
