qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSirSmeStopBssReq
Replace tSirMacAddr with cdf_mac_addr in tSirSmeStopBssReq.
Change-Id: Ie758460224c632a8192f8dfbe14cbb508636ff25
CRs-Fixed: 898864
diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h
index 431a71e..4734920 100644
--- a/core/mac/inc/sir_api.h
+++ b/core/mac/inc/sir_api.h
@@ -1450,7 +1450,7 @@
uint8_t sessionId; /* Session ID */
uint16_t transactionId; /* tranSaction ID for cmd */
tSirResultCodes reasonCode;
- tSirMacAddr bssId; /* Self BSSID */
+ struct cdf_mac_addr bssid; /* Self BSSID */
} tSirSmeStopBssReq, *tpSirSmeStopBssReq;
/* / Definition for stop BSS response message */
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 fd9616a..cecad63 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
@@ -3332,7 +3332,7 @@
}
psessionEntry = pe_find_session_by_bssid(pMac,
- stopBssReq.bssId,
+ stopBssReq.bssid.bytes,
&sessionId);
if (psessionEntry == NULL) {
lim_log(pMac, LOGW,
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index 7fa9288..677e8de 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -14674,9 +14674,7 @@
pMsg->length = sizeof(tSirSmeStopBssReq);
pMsg->transactionId = 0;
pMsg->reasonCode = 0;
- cdf_mem_copy(&pMsg->bssId,
- &pSession->connectedProfile.bssid.bytes,
- sizeof(tSirMacAddr));
+ cdf_copy_macaddr(&pMsg->bssid, &pSession->connectedProfile.bssid);
return cds_send_mb_message_to_mac(pMsg);
}