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
This commit is contained in:
Srinivas Girigowda 2016-01-04 14:32:25 -08:00 • committed by Akash Patel
commit af677fc818
3 changed files with 3 additions and 5 deletions

View file

@ -1450,7 +1450,7 @@ typedef struct sSirSmeStopBssReq {
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 */

View file

@ -3332,7 +3332,7 @@ __lim_handle_sme_stop_bss_request(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
}
psessionEntry = pe_find_session_by_bssid(pMac,
stopBssReq.bssId,
stopBssReq.bssid.bytes,
&sessionId);
if (psessionEntry == NULL) {
lim_log(pMac, LOGW,

View file

@ -14674,9 +14674,7 @@ CDF_STATUS csr_send_mb_stop_bss_req_msg(tpAniSirGlobal pMac, uint32_t sessionId)
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);
}