mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in sSirResetAPCapsChange
Replace tSirMacAddr with cdf_mac_addr in sSirResetAPCapsChange. Change-Id: Ife3e49f1902baafaddf5f304dd423451319f2783 CRs-Fixed: 898864
This commit is contained in:
parent
26ebb19c31
commit
40567b94a1
3 changed files with 7 additions and 5 deletions
|
|
@ -3463,7 +3463,7 @@ typedef struct sSirActiveModeSetBcnFilterReq {
|
|||
typedef struct sSirResetAPCapsChange {
|
||||
uint16_t messageType;
|
||||
uint16_t length;
|
||||
tSirMacAddr bssId;
|
||||
struct cdf_mac_addr bssId;
|
||||
} tSirResetAPCapsChange, *tpSirResetAPCapsChange;
|
||||
|
||||
/* / Definition for Candidate found indication from FW */
|
||||
|
|
|
|||
|
|
@ -4735,7 +4735,8 @@ __lim_process_sme_reset_ap_caps_change(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
|
|||
|
||||
pResetCapsChange = (tpSirResetAPCapsChange) pMsgBuf;
|
||||
psessionEntry =
|
||||
pe_find_session_by_bssid(pMac, pResetCapsChange->bssId, &sessionId);
|
||||
pe_find_session_by_bssid(pMac, pResetCapsChange->bssId.bytes,
|
||||
&sessionId);
|
||||
if (psessionEntry == NULL) {
|
||||
lim_log(pMac, LOGE,
|
||||
FL("Session does not exist for given BSSID"));
|
||||
|
|
|
|||
|
|
@ -9979,17 +9979,18 @@ static CDF_STATUS csr_send_reset_ap_caps_changed(tpAniSirGlobal pMac,
|
|||
status = CDF_STATUS_E_NOMEM;
|
||||
else
|
||||
status = CDF_STATUS_SUCCESS;
|
||||
|
||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||
cdf_mem_set(pMsg, sizeof(tSirResetAPCapsChange), 0);
|
||||
pMsg->messageType = eWNI_SME_RESET_AP_CAPS_CHANGED;
|
||||
pMsg->length = len;
|
||||
cdf_mem_copy(pMsg->bssId, bssId->bytes, CDF_MAC_ADDR_SIZE);
|
||||
cdf_copy_macaddr(&pMsg->bssId, bssId);
|
||||
sms_log(pMac, LOG1,
|
||||
FL("CSR reset caps change for Bssid= " MAC_ADDRESS_STR),
|
||||
MAC_ADDR_ARRAY(pMsg->bssId));
|
||||
MAC_ADDR_ARRAY(pMsg->bssId.bytes));
|
||||
status = cds_send_mb_message_to_mac(pMsg);
|
||||
} else {
|
||||
sms_log(pMac, LOGE, FL("Memory allocation failed\n"));
|
||||
sms_log(pMac, LOGE, FL("Memory allocation failed"));
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue