qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSirSmeDeauthRsp
Replace tSirMacAddr with cdf_mac_addr in tSirSmeDeauthRsp. Change-Id: I383f867f8847f66bc6f6e99ee2a56b4bc89ebe5b CRs-Fixed: 898864
This commit is contained in:

committed by
Akash Patel

parent
3daefc9a30
commit
cd88e7602a
@@ -1425,7 +1425,7 @@ typedef struct sSirSmeDeauthRsp {
|
||||
uint8_t sessionId; /* Session ID */
|
||||
uint16_t transactionId; /* Transaction ID for cmd */
|
||||
tSirResultCodes statusCode;
|
||||
tSirMacAddr peerMacAddr;
|
||||
struct cdf_mac_addr peer_macaddr;
|
||||
} tSirSmeDeauthRsp, *tpSirSmeDeauthRsp;
|
||||
|
||||
/* / Definition for Deauthetication indication from peer */
|
||||
|
@@ -2010,9 +2010,9 @@ lim_process_mlm_deauth_req_ntf(tpAniSirGlobal mac_ctx,
|
||||
mlm_deauth_req->sessionId;
|
||||
sme_deauth_rsp->transactionId = 0;
|
||||
|
||||
cdf_mem_copy(sme_deauth_rsp->peerMacAddr,
|
||||
cdf_mem_copy(sme_deauth_rsp->peer_macaddr.bytes,
|
||||
mlm_deauth_req->peerMacAddr,
|
||||
sizeof(tSirMacAddr));
|
||||
CDF_MAC_ADDR_SIZE);
|
||||
|
||||
msg_buf = (uint32_t *)sme_deauth_rsp;
|
||||
|
||||
|
@@ -1401,7 +1401,7 @@ lim_send_sme_deauth_ntf(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr,
|
||||
pSirSmeDeauthRsp->sessionId = smesessionId;
|
||||
pSirSmeDeauthRsp->transactionId = smetransactionId;
|
||||
|
||||
pBuf = (uint8_t *) pSirSmeDeauthRsp->peerMacAddr;
|
||||
pBuf = (uint8_t *) pSirSmeDeauthRsp->peer_macaddr.bytes;
|
||||
cdf_mem_copy(pBuf, peerMacAddr, sizeof(tSirMacAddr));
|
||||
|
||||
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
|
||||
|
@@ -10302,9 +10302,8 @@ csr_roam_chk_lnk_deauth_rsp(tpAniSirGlobal mac_ctx, tSirSmeRsp *msg_ptr)
|
||||
if (CSR_IS_INFRA_AP(&session->connectedProfile)) {
|
||||
roam_info_ptr = &roam_info;
|
||||
roam_info_ptr->u.pConnectedProfile = &session->connectedProfile;
|
||||
cdf_mem_copy(roam_info_ptr->peerMac.bytes,
|
||||
pDeauthRsp->peerMacAddr,
|
||||
sizeof(tSirMacAddr));
|
||||
cdf_copy_macaddr(&roam_info_ptr->peerMac,
|
||||
&pDeauthRsp->peer_macaddr);
|
||||
roam_info_ptr->reasonCode = eCSR_ROAM_RESULT_FORCED;
|
||||
roam_info_ptr->statusCode = pDeauthRsp->statusCode;
|
||||
status = csr_roam_call_callback(mac_ctx, sessionId,
|
||||
|
Reference in New Issue
Block a user