qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSirSmeDeauthInd
Replace tSirMacAddr with cdf_mac_addr in tSirSmeDeauthInd.
Change-Id: Ic8203cb89b970d5efb4c99e5e570af95ac9f802e
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 491f979..54580f8 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
@@ -1125,11 +1125,11 @@
(tSirResultCodes) pStaDs->mlmStaContext.disassocReason;
}
/* BSSID */
- cdf_mem_copy(pSirSmeDeauthInd->bssId, psessionEntry->bssId,
- sizeof(tSirMacAddr));
+ cdf_mem_copy(pSirSmeDeauthInd->bssid.bytes, psessionEntry->bssId,
+ CDF_MAC_ADDR_SIZE);
/* peerMacAddr */
- cdf_mem_copy(pSirSmeDeauthInd->peerMacAddr, pStaDs->staAddr,
- sizeof(tSirMacAddr));
+ cdf_mem_copy(pSirSmeDeauthInd->peer_macaddr.bytes, pStaDs->staAddr,
+ CDF_MAC_ADDR_SIZE);
pSirSmeDeauthInd->reasonCode = pStaDs->mlmStaContext.disassocReason;
pSirSmeDeauthInd->staId = pStaDs->staIndex;
@@ -1451,8 +1451,8 @@
pBuf += sizeof(tSirMacAddr);
/* peerMacAddr */
- cdf_mem_copy(pSirSmeDeauthInd->peerMacAddr, peerMacAddr,
- sizeof(tSirMacAddr));
+ cdf_mem_copy(pSirSmeDeauthInd->peer_macaddr.bytes, peerMacAddr,
+ CDF_MAC_ADDR_SIZE);
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
lim_diag_event_report(pMac, WLAN_PE_DIAG_DEAUTH_IND_EVENT,