Переглянути джерело

qcacld-3.0: Remove csr_issue_stored_joinreq()

Change I360a0c0f7508026f1889e1998eeaac01464382de ("qcacld-3.0: Remove
sme_issue_stored_joinreq()") removed the last client of
csr_issue_stored_joinreq().  Since the function is now unused, remove
it.

Change-Id: I0ec6ae46c5b90ab6619f03ab76d95ca4e45ad450
CRs-Fixed: 2371138
Jeff Johnson 6 роки тому
батько
коміт
2246ebd499
2 змінених файлів з 0 додано та 50 видалено
  1. 0 3
      core/sme/inc/csr_internal.h
  2. 0 47
      core/sme/src/csr/csr_api_roam.c

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

@@ -1144,9 +1144,6 @@ bool csr_store_joinreq_param(struct mac_context *mac_ctx,
 bool csr_find_session_by_bssid(struct mac_context *mac_ctx, uint8_t *bssid);
 bool csr_clear_joinreq_param(struct mac_context *mac_ctx,
 		uint32_t session_id);
-QDF_STATUS csr_issue_stored_joinreq(struct mac_context *mac_ctx,
-		uint32_t *roam_id,
-		uint32_t session_id);
 QDF_STATUS csr_get_channels_and_power(struct mac_context *mac);
 
 void csr_nonscan_pending_ll_unlock(struct mac_context *mac_ctx);

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

@@ -20342,53 +20342,6 @@ bool csr_store_joinreq_param(struct mac_context *mac_ctx,
 	return true;
 }
 
-/**
- * csr_issue_stored_joinreq() - This function will issues station's stored
- * the join request.
- * @mac_ctx: pointer to mac context.
- * @roam_id: reference to roam_id variable being passed.
- * @session_id: station's session id.
- *
- * This function will issue station's stored join request, from this point
- * onwards the flow will be just like normal connect request.
- *
- * Return: QDF_STATUS_SUCCESS or QDF_STATUS_E_FAILURE.
- **/
-QDF_STATUS csr_issue_stored_joinreq(struct mac_context *mac_ctx,
-		uint32_t *roam_id,
-		uint32_t session_id)
-{
-	QDF_STATUS status = QDF_STATUS_SUCCESS;
-	struct csr_roam_session *sta_session;
-	uint32_t new_roam_id;
-
-	sta_session = CSR_GET_SESSION(mac_ctx, session_id);
-	if (NULL == sta_session)
-		return QDF_STATUS_E_FAILURE;
-	new_roam_id = GET_NEXT_ROAM_ID(&mac_ctx->roam);
-	*roam_id = new_roam_id;
-	status = csr_roam_issue_connect(mac_ctx,
-			sta_session->stored_roam_profile.session_id,
-			&sta_session->stored_roam_profile.profile,
-			sta_session->stored_roam_profile.bsslist_handle,
-			sta_session->stored_roam_profile.reason,
-			new_roam_id,
-			sta_session->stored_roam_profile.imediate_flag,
-			sta_session->stored_roam_profile.clear_flag);
-
-	sta_session->stored_roam_profile.bsslist_handle =
-					CSR_INVALID_SCANRESULT_HANDLE;
-
-	if (QDF_STATUS_SUCCESS != status) {
-		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
-			FL
-			("CSR failed issuing connect cmd with status = 0x%08X"),
-				status);
-		csr_clear_joinreq_param(mac_ctx, session_id);
-	}
-	return status;
-}
-
 /**
  * csr_process_set_hw_mode() - Set HW mode command to PE
  * @mac: Globacl MAC pointer