mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacld-3.0: Remove sme_clear_joinreq_param()
Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the last client
of sme_clear_joinreq_param(). Since this function is now unused,
remove it.
Change-Id: I795bfd1d19f81d703bd9d903ebc53e61b014c5c3
CRs-Fixed: 2371139
This commit is contained in:
parent
2246ebd499
commit
ac445965cc
2 changed files with 0 additions and 36 deletions
|
|
@ -455,8 +455,6 @@ QDF_STATUS sme_get_ap_channel_from_scan_cache(
|
|||
QDF_STATUS sme_get_ap_channel_from_scan(void *profile,
|
||||
tScanResultHandle *scan_cache,
|
||||
uint8_t *ap_chnl_id);
|
||||
bool sme_clear_joinreq_param(mac_handle_t mac_handle,
|
||||
uint32_t session_id);
|
||||
QDF_STATUS sme_scan_flush_result(mac_handle_t mac_handle);
|
||||
tCsrScanResultInfo *sme_scan_result_get_first(mac_handle_t,
|
||||
tScanResultHandle hScanResult);
|
||||
|
|
|
|||
|
|
@ -2709,40 +2709,6 @@ QDF_STATUS sme_get_ap_channel_from_scan_cache(
|
|||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* sme_clear_joinreq_param() - This function will pass station's clear
|
||||
* the join request to csr.
|
||||
* @mac_handle: Opaque handle to the global MAC context.
|
||||
* @session_id: station's session id.
|
||||
*
|
||||
* This function will pass station's clear join request further down to csr
|
||||
* to cleanup.
|
||||
*
|
||||
* Return: true or false based on function's overall success.
|
||||
**/
|
||||
bool sme_clear_joinreq_param(mac_handle_t mac_handle,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct mac_context *mac_ctx = MAC_CONTEXT(mac_handle);
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
bool ret_status = true;
|
||||
|
||||
MTRACE(qdf_trace(QDF_MODULE_ID_SME,
|
||||
TRACE_CODE_SME_RX_HDD_CLEAR_JOIN_REQ,
|
||||
session_id, 0));
|
||||
status = sme_acquire_global_lock(&mac_ctx->sme);
|
||||
if (QDF_STATUS_SUCCESS == status) {
|
||||
if (false == csr_clear_joinreq_param(mac_ctx,
|
||||
session_id))
|
||||
ret_status = false;
|
||||
sme_release_global_lock(&mac_ctx->sme);
|
||||
} else {
|
||||
ret_status = false;
|
||||
}
|
||||
|
||||
return ret_status;
|
||||
}
|
||||
|
||||
/*
|
||||
* sme_scan_flush_result() -
|
||||
* A wrapper function to request CSR to clear scan results.
|
||||
|
|
|
|||
Loading…
Reference in a new issue