mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Remove sme_issue_stored_joinreq()
Change Ifa27ecdf1e37eda6f929f89da603bc356e9cb7fd ("qcacld-3.0: legacy
code change for policy manager restructuring") removed the only client
of sme_issue_stored_joinreq(). Since this function is now unused,
remove it.
Change-Id: I360a0c0f7508026f1889e1998eeaac01464382de
CRs-Fixed: 2370887
This commit is contained in:
parent
397c19feee
commit
9c2cd57d94
2 changed files with 0 additions and 41 deletions
|
|
@ -462,9 +462,6 @@ bool sme_store_joinreq_param(mac_handle_t mac_handle,
|
|||
uint32_t session_id);
|
||||
bool sme_clear_joinreq_param(mac_handle_t mac_handle,
|
||||
uint32_t session_id);
|
||||
QDF_STATUS sme_issue_stored_joinreq(mac_handle_t mac_handle,
|
||||
uint32_t *roam_id,
|
||||
uint32_t session_id);
|
||||
QDF_STATUS sme_scan_flush_result(mac_handle_t mac_handle);
|
||||
QDF_STATUS sme_scan_flush_p2p_result(mac_handle_t mac_handle,
|
||||
uint8_t sessionId);
|
||||
|
|
|
|||
|
|
@ -2783,44 +2783,6 @@ bool sme_clear_joinreq_param(mac_handle_t mac_handle,
|
|||
return ret_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* sme_issue_stored_joinreq() - This function will issues station's stored
|
||||
* the join request to csr.
|
||||
* @mac_handle: Opaque handle to the global 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 further down to csr
|
||||
* to proceed forward.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS or QDF_STATUS_E_FAILURE.
|
||||
**/
|
||||
QDF_STATUS sme_issue_stored_joinreq(mac_handle_t mac_handle,
|
||||
uint32_t *roam_id,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct mac_context *mac_ctx = MAC_CONTEXT(mac_handle);
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
QDF_STATUS ret_status = QDF_STATUS_SUCCESS;
|
||||
|
||||
MTRACE(qdf_trace(QDF_MODULE_ID_SME,
|
||||
TRACE_CODE_SME_RX_HDD_ISSUE_JOIN_REQ,
|
||||
session_id, 0));
|
||||
status = sme_acquire_global_lock(&mac_ctx->sme);
|
||||
if (QDF_STATUS_SUCCESS == status) {
|
||||
if (QDF_STATUS_SUCCESS != csr_issue_stored_joinreq(mac_ctx,
|
||||
roam_id,
|
||||
session_id)) {
|
||||
ret_status = QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
sme_release_global_lock(&mac_ctx->sme);
|
||||
} else {
|
||||
csr_clear_joinreq_param(mac_ctx, session_id);
|
||||
ret_status = QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
return ret_status;
|
||||
}
|
||||
|
||||
/*
|
||||
* sme_scan_flush_result() -
|
||||
* A wrapper function to request CSR to clear scan results.
|
||||
|
|
|
|||
Loading…
Reference in a new issue