qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSirSmeDeauthCnf
Replace tSirMacAddr with cdf_mac_addr in tSirSmeDeauthCnf.
Change-Id: I16b399bcb76a6dd3fcc35c52e5822e988d4e5001
CRs-Fixed: 898864
diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
index d99a213..26a93d2 100644
--- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
@@ -2603,7 +2603,7 @@
sizeof(struct sSirSmeDisassocCnf));
psessionEntry = pe_find_session_by_bssid(pMac,
- smeDisassocCnf.bssId,
+ smeDisassocCnf.bssid.bytes,
&sessionId);
if (psessionEntry == NULL) {
lim_log(pMac, LOGE,
@@ -2661,13 +2661,13 @@
(psessionEntry->limSmeState == eLIM_SME_WT_DEAUTH_STATE) ||
LIM_IS_AP_ROLE(psessionEntry)) {
pStaDs = dph_lookup_hash_entry(pMac,
- smeDisassocCnf.peerMacAddr, &aid,
+ smeDisassocCnf.peer_macaddr.bytes, &aid,
&psessionEntry->dph.dphHashTable);
if (pStaDs == NULL) {
lim_log(pMac, LOGE,
FL("DISASSOC_CNF for a STA with no context, addr= "
MAC_ADDRESS_STR),
- MAC_ADDR_ARRAY(smeDisassocCnf.peerMacAddr));
+ MAC_ADDR_ARRAY(smeDisassocCnf.peer_macaddr.bytes));
return;
}
@@ -2677,7 +2677,7 @@
eLIM_MLM_WT_DEL_STA_RSP_STATE)) {
lim_log(pMac, LOGE,
FL("No need of cleanup for addr:" MAC_ADDRESS_STR "as MLM state is %d"),
- MAC_ADDR_ARRAY(smeDisassocCnf.peerMacAddr),
+ MAC_ADDR_ARRAY(smeDisassocCnf.peer_macaddr.bytes),
pStaDs->mlmStaContext.mlmState);
return;
}
@@ -2689,8 +2689,7 @@
lim_cleanup_rx_path(pMac, pStaDs, psessionEntry);
lim_clean_up_disassoc_deauth_req(pMac,
- (char *)&smeDisassocCnf.peerMacAddr,
- 0);
+ (char *)&smeDisassocCnf.peer_macaddr, 0);
}
return;