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
This commit is contained in:
@@ -2609,6 +2609,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
|
|||||||
|
|
||||||
cds_packet_free((void *)tx_frame);
|
cds_packet_free((void *)tx_frame);
|
||||||
tx_frame = pPacket;
|
tx_frame = pPacket;
|
||||||
|
pData = pFrame;
|
||||||
frmLen = newFrmLen;
|
frmLen = newFrmLen;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -2648,6 +2649,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
|
|||||||
}
|
}
|
||||||
cds_packet_free((void *)tx_frame);
|
cds_packet_free((void *)tx_frame);
|
||||||
tx_frame = pPacket;
|
tx_frame = pPacket;
|
||||||
|
pData = pFrame;
|
||||||
frmLen = newFrmLen;
|
frmLen = newFrmLen;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user