qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in sSmeMaxAssocInd
Replace tSirMacAddr with cdf_mac_addr in sSmeMaxAssocInd and
tSirSmeGetAssocSTAsReq.
Change-Id: Ie36a22b5ee5c823833981b51ef91525f6c6af692
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 ec18e49..68e11a6 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
@@ -2305,8 +2305,8 @@
return;
}
cdf_mem_set((void *)pSmeMaxAssocInd, sizeof(tSmeMaxAssocInd), 0);
- cdf_mem_copy((uint8_t *) pSmeMaxAssocInd->peerMac,
- (uint8_t *) peerMacAddr, sizeof(tSirMacAddr));
+ cdf_mem_copy((uint8_t *) pSmeMaxAssocInd->peer_mac.bytes,
+ (uint8_t *) peerMacAddr, CDF_MAC_ADDR_SIZE);
pSmeMaxAssocInd->mesgType = eWNI_SME_MAX_ASSOC_EXCEEDED;
pSmeMaxAssocInd->mesgLen = sizeof(tSmeMaxAssocInd);
pSmeMaxAssocInd->sessionId = smesessionId;