Quellcode durchsuchen

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
Jeff Johnson vor 7 Jahren
Ursprung
Commit
573a86ac61
2 geänderte Dateien mit 0 neuen und 31 gelöschten Zeilen
  1. 0 3
      core/sme/inc/csr_internal.h
  2. 0 28
      core/sme/src/csr/csr_api_roam.c

+ 0 - 3
core/sme/inc/csr_internal.h

@@ -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);

+ 0 - 28
core/sme/src/csr/csr_api_roam.c

@@ -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,