qcacld-3.0: Remove sme_roam_get_connect_state()
Function sme_roam_get_connect_state() is unused, so remove it. Change-Id: Ieff533b5abca419fa2ffeabfcbfe9b2cf8eb5879 CRs-Fixed: 2370893
This commit is contained in:
parent
b6cc7fa156
commit
7c4eccde0a
@ -494,9 +494,6 @@ QDF_STATUS sme_roam_disconnect_sta(mac_handle_t mac_handle, uint8_t sessionId,
|
||||
struct csr_del_sta_params *p_del_sta_params);
|
||||
QDF_STATUS sme_roam_deauth_sta(mac_handle_t mac_handle, uint8_t sessionId,
|
||||
struct csr_del_sta_params *pDelStaParams);
|
||||
QDF_STATUS sme_roam_get_connect_state(mac_handle_t mac_handle,
|
||||
uint8_t sessionId,
|
||||
eCsrConnectState *pState);
|
||||
QDF_STATUS sme_roam_get_connect_profile(mac_handle_t mac_handle,
|
||||
uint8_t sessionId,
|
||||
tCsrRoamConnectedProfile *pProfile);
|
||||
|
@ -3165,34 +3165,6 @@ QDF_STATUS sme_roam_deauth_sta(mac_handle_t mac_handle, uint8_t sessionId,
|
||||
return status;
|
||||
}
|
||||
|
||||
/*
|
||||
* sme_roam_get_connect_state() -
|
||||
* A wrapper function to request CSR to return the current connect state
|
||||
* of Roaming
|
||||
* This is a synchronous call.
|
||||
*
|
||||
* Return QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_roam_get_connect_state(mac_handle_t mac_handle,
|
||||
uint8_t sessionId,
|
||||
eCsrConnectState *pState)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
struct mac_context *mac = MAC_CONTEXT(mac_handle);
|
||||
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
if (CSR_IS_SESSION_VALID(mac, sessionId))
|
||||
status = csr_roam_get_connect_state(mac, sessionId,
|
||||
pState);
|
||||
else
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
sme_release_global_lock(&mac->sme);
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
/*
|
||||
* sme_roam_get_connect_profile() -
|
||||
* A wrapper function to request CSR to return the current connect
|
||||
|
Loading…
Reference in New Issue
Block a user