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:

committato da
Satish Singh

parent
26ebb19c31
commit
40567b94a1
@@ -3463,7 +3463,7 @@ typedef struct sSirActiveModeSetBcnFilterReq {
|
|||||||
typedef struct sSirResetAPCapsChange {
|
typedef struct sSirResetAPCapsChange {
|
||||||
uint16_t messageType;
|
uint16_t messageType;
|
||||||
uint16_t length;
|
uint16_t length;
|
||||||
tSirMacAddr bssId;
|
struct cdf_mac_addr bssId;
|
||||||
} tSirResetAPCapsChange, *tpSirResetAPCapsChange;
|
} tSirResetAPCapsChange, *tpSirResetAPCapsChange;
|
||||||
|
|
||||||
/* / Definition for Candidate found indication from FW */
|
/* / 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;
|
pResetCapsChange = (tpSirResetAPCapsChange) pMsgBuf;
|
||||||
psessionEntry =
|
psessionEntry =
|
||||||
pe_find_session_by_bssid(pMac, pResetCapsChange->bssId, &sessionId);
|
pe_find_session_by_bssid(pMac, pResetCapsChange->bssId.bytes,
|
||||||
|
&sessionId);
|
||||||
if (psessionEntry == NULL) {
|
if (psessionEntry == NULL) {
|
||||||
lim_log(pMac, LOGE,
|
lim_log(pMac, LOGE,
|
||||||
FL("Session does not exist for given BSSID"));
|
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;
|
status = CDF_STATUS_E_NOMEM;
|
||||||
else
|
else
|
||||||
status = CDF_STATUS_SUCCESS;
|
status = CDF_STATUS_SUCCESS;
|
||||||
|
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
cdf_mem_set(pMsg, sizeof(tSirResetAPCapsChange), 0);
|
cdf_mem_set(pMsg, sizeof(tSirResetAPCapsChange), 0);
|
||||||
pMsg->messageType = eWNI_SME_RESET_AP_CAPS_CHANGED;
|
pMsg->messageType = eWNI_SME_RESET_AP_CAPS_CHANGED;
|
||||||
pMsg->length = len;
|
pMsg->length = len;
|
||||||
cdf_mem_copy(pMsg->bssId, bssId->bytes, CDF_MAC_ADDR_SIZE);
|
cdf_copy_macaddr(&pMsg->bssId, bssId);
|
||||||
sms_log(pMac, LOG1,
|
sms_log(pMac, LOG1,
|
||||||
FL("CSR reset caps change for Bssid= " MAC_ADDRESS_STR),
|
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);
|
status = cds_send_mb_message_to_mac(pMsg);
|
||||||
} else {
|
} else {
|
||||||
sms_log(pMac, LOGE, FL("Memory allocation failed\n"));
|
sms_log(pMac, LOGE, FL("Memory allocation failed"));
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Fai riferimento in un nuovo problema
Block a user