qcacld-3.0: Remove obsolete csr_roam_update_wparsni_es()
Change "qcacld-3.0: Remove obsolete sme_roam_update_apwparsni_es()" removed the only caller of csr_roam_update_wparsni_es(). Since this function is unused and obsolete, remove it. Change-Id: I4e89efe38776eb74c702485020236cfaee50641f CRs-Fixed: 2114958
This commit is contained in:
@@ -1278,9 +1278,6 @@ uint8_t csr_construct_wapi_ie(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||||||
QDF_STATUS csr_roam_update_apwpsie(tpAniSirGlobal pMac,
|
QDF_STATUS csr_roam_update_apwpsie(tpAniSirGlobal pMac,
|
||||||
uint32_t sessionId,
|
uint32_t sessionId,
|
||||||
tSirAPWPSIEs * pAPWPSIES);
|
tSirAPWPSIEs * pAPWPSIES);
|
||||||
QDF_STATUS csr_roam_update_wparsni_es(tpAniSirGlobal pMac,
|
|
||||||
uint32_t sessionId,
|
|
||||||
tSirRSNie *pAPSirRSNie);
|
|
||||||
void csr_set_cfg_privacy(tpAniSirGlobal pMac,
|
void csr_set_cfg_privacy(tpAniSirGlobal pMac,
|
||||||
tCsrRoamProfile *pProfile,
|
tCsrRoamProfile *pProfile,
|
||||||
bool fPrivacy);
|
bool fPrivacy);
|
||||||
|
@@ -19331,34 +19331,6 @@ QDF_STATUS csr_roam_update_apwpsie(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
QDF_STATUS csr_roam_update_wparsni_es(tpAniSirGlobal pMac, uint32_t sessionId,
|
|
||||||
tSirRSNie *pAPSirRSNie)
|
|
||||||
{
|
|
||||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
|
||||||
tSirUpdateAPWPARSNIEsReq *pMsg;
|
|
||||||
struct csr_roam_session *pSession = CSR_GET_SESSION(pMac, sessionId);
|
|
||||||
|
|
||||||
if (NULL == pSession) {
|
|
||||||
sme_err("Session does not exist for session id %d",
|
|
||||||
sessionId);
|
|
||||||
return QDF_STATUS_E_FAILURE;
|
|
||||||
}
|
|
||||||
do {
|
|
||||||
pMsg = qdf_mem_malloc(sizeof(tSirUpdateAPWPARSNIEsReq));
|
|
||||||
if (NULL == pMsg)
|
|
||||||
return QDF_STATUS_E_NOMEM;
|
|
||||||
pMsg->messageType = eWNI_SME_SET_APWPARSNIEs_REQ;
|
|
||||||
pMsg->transactionId = 0;
|
|
||||||
qdf_copy_macaddr(&pMsg->bssid, &pSession->selfMacAddr);
|
|
||||||
pMsg->sessionId = sessionId;
|
|
||||||
qdf_mem_copy(&pMsg->APWPARSNIEs, pAPSirRSNie,
|
|
||||||
sizeof(tSirRSNie));
|
|
||||||
pMsg->length = sizeof(struct sSirUpdateAPWPARSNIEsReq);
|
|
||||||
status = umac_send_mb_message_to_mac(pMsg);
|
|
||||||
} while (0);
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* pBuf points to the beginning of the message
|
* pBuf points to the beginning of the message
|
||||||
* LIM packs disassoc rsp as below,
|
* LIM packs disassoc rsp as below,
|
||||||
|
Reference in New Issue
Block a user