mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Remove sme_get_infra_session_id()
Function sme_get_infra_session_id() is unused, so remove it. Change-Id: Ib37eff0591d9c043e62883329c12410fcca67223 CRs-Fixed: 2371148
This commit is contained in:
parent
ba4fd18cba
commit
cb62be3384
2 changed files with 1 additions and 27 deletions
|
|
@ -687,7 +687,6 @@ QDF_STATUS sme_configure_app_type1_params(mac_handle_t mac_handle,
|
|||
QDF_STATUS sme_configure_app_type2_params(mac_handle_t mac_handle,
|
||||
tpSirAppType2Params wlanAppType2Params);
|
||||
#endif
|
||||
int8_t sme_get_infra_session_id(mac_handle_t mac_handle);
|
||||
uint8_t sme_get_concurrent_operation_channel(mac_handle_t mac_handle);
|
||||
#ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH
|
||||
uint16_t sme_check_concurrent_channel_overlap(mac_handle_t mac_handle,
|
||||
|
|
|
|||
|
|
@ -5130,32 +5130,7 @@ QDF_STATUS sme_configure_app_type2_params(mac_handle_t mac_handle,
|
|||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* sme_get_infra_session_id
|
||||
* To get the session ID for infra session, if connected
|
||||
* This is a synchronous API.
|
||||
*
|
||||
* mac_handle - The handle returned by mac_open.
|
||||
* sessionid, -1 if infra session is not connected
|
||||
*/
|
||||
int8_t sme_get_infra_session_id(mac_handle_t mac_handle)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
int8_t sessionid = -1;
|
||||
struct mac_context *mac = MAC_CONTEXT(mac_handle);
|
||||
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
|
||||
sessionid = csr_get_infra_session_id(mac);
|
||||
|
||||
sme_release_global_lock(&mac->sme);
|
||||
}
|
||||
|
||||
return sessionid;
|
||||
}
|
||||
|
||||
/* This routine will return poerating channel on which other BSS is operating
|
||||
/* This routine will return operating channel on which other BSS is operating
|
||||
* to be used for concurrency mode. If other BSS is not up or not connected it
|
||||
* will return 0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue