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:
Jeff Johnson
2017-09-22 07:25:34 -07:00
gecommit door snandini
bovenliggende 587285add5
commit 573a86ac61
2 gewijzigde bestanden met toevoegingen van 0 en 31 verwijderingen

Bestand weergeven

@@ -1278,9 +1278,6 @@ uint8_t csr_construct_wapi_ie(tpAniSirGlobal pMac, uint32_t sessionId,
QDF_STATUS csr_roam_update_apwpsie(tpAniSirGlobal pMac,
uint32_t sessionId,
tSirAPWPSIEs * pAPWPSIES);
QDF_STATUS csr_roam_update_wparsni_es(tpAniSirGlobal pMac,
uint32_t sessionId,
tSirRSNie *pAPSirRSNie);
void csr_set_cfg_privacy(tpAniSirGlobal pMac,
tCsrRoamProfile *pProfile,
bool fPrivacy);

Bestand weergeven

@@ -19331,34 +19331,6 @@ QDF_STATUS csr_roam_update_apwpsie(tpAniSirGlobal pMac, uint32_t sessionId,
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
* LIM packs disassoc rsp as below,