qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in sSirAddtsReq
Replace tSirMacAddr with cdf_mac_addr in struct sSirAddtsReq. Change-Id: I9a9f4cfc2185859c30d56ec4bc98891c9895531d CRs-Fixed: 898864
This commit is contained in:

committed by
Akash Patel

parent
0fcbab2fe4
commit
24dab28011
@@ -1976,7 +1976,7 @@ typedef struct sSirAddtsReq {
|
|||||||
uint16_t length;
|
uint16_t length;
|
||||||
uint8_t sessionId; /* Session ID */
|
uint8_t sessionId; /* Session ID */
|
||||||
uint16_t transactionId;
|
uint16_t transactionId;
|
||||||
tSirMacAddr bssId; /* BSSID */
|
struct cdf_mac_addr bssid; /* BSSID */
|
||||||
uint32_t timeout; /* in ms */
|
uint32_t timeout; /* in ms */
|
||||||
uint8_t rspReqd;
|
uint8_t rspReqd;
|
||||||
tSirAddtsReqInfo req;
|
tSirAddtsReqInfo req;
|
||||||
|
@@ -3713,9 +3713,8 @@ static void __lim_process_sme_addts_req(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
|
|||||||
|
|
||||||
pSirAddts = (tpSirAddtsReq) pMsgBuf;
|
pSirAddts = (tpSirAddtsReq) pMsgBuf;
|
||||||
|
|
||||||
psessionEntry = pe_find_session_by_bssid(pMac,
|
psessionEntry = pe_find_session_by_bssid(pMac, pSirAddts->bssid.bytes,
|
||||||
pSirAddts->bssId,
|
&sessionId);
|
||||||
&sessionId);
|
|
||||||
if (psessionEntry == NULL) {
|
if (psessionEntry == NULL) {
|
||||||
lim_log(pMac, LOGE, "Session Does not exist for given bssId");
|
lim_log(pMac, LOGE, "Session Does not exist for given bssId");
|
||||||
return;
|
return;
|
||||||
|
@@ -3965,7 +3965,7 @@ CDF_STATUS sme_qos_add_ts_req(tpAniSirGlobal pMac,
|
|||||||
cdf_mem_free(pMsg);
|
cdf_mem_free(pMsg);
|
||||||
return CDF_STATUS_E_FAILURE;
|
return CDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
cdf_mem_copy(&pMsg->bssId[0],
|
cdf_mem_copy(&pMsg->bssid.bytes[0],
|
||||||
&pSession->assocInfo.pBssDesc->bssId[0],
|
&pSession->assocInfo.pBssDesc->bssId[0],
|
||||||
sizeof(struct cdf_mac_addr));
|
sizeof(struct cdf_mac_addr));
|
||||||
CDF_TRACE(CDF_MODULE_ID_SME, CDF_TRACE_LEVEL_INFO_HIGH,
|
CDF_TRACE(CDF_MODULE_ID_SME, CDF_TRACE_LEVEL_INFO_HIGH,
|
||||||
|
Reference in New Issue
Block a user