qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSirSmeDisassocInd
Replace tSirMacAddr with cdf_mac_addr in tSirSmeDisassocInd.
Change-Id: Icdf3420c24762f919df73d57dffdf1b51151a0e8
CRs-Fixed: 898864
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index 96af67b..b1c3d36 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -1063,11 +1063,11 @@
pSirSmeDisassocInd->statusCode = pStaDs->mlmStaContext.disassocReason;
pSirSmeDisassocInd->reasonCode = pStaDs->mlmStaContext.disassocReason;
- cdf_mem_copy(pSirSmeDisassocInd->bssId, psessionEntry->bssId,
- sizeof(tSirMacAddr));
+ cdf_mem_copy(pSirSmeDisassocInd->bssid.bytes, psessionEntry->bssId,
+ CDF_MAC_ADDR_SIZE);
- cdf_mem_copy(pSirSmeDisassocInd->peerMacAddr, pStaDs->staAddr,
- sizeof(tSirMacAddr));
+ cdf_mem_copy(pSirSmeDisassocInd->peer_macaddr.bytes, pStaDs->staAddr,
+ CDF_MAC_ADDR_SIZE);
pSirSmeDisassocInd->staId = pStaDs->staIndex;