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
This commit is contained in:
Jeff Johnson 2018-12-19 11:50:17 -08:00 • committed by nshrivas
commit 2246ebd499
2 changed files with 0 additions and 50 deletions

View file

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

View file

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