mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Remove csr_is_sta_session_connected()
Change I913b6e769f282a0f5a0ddb40e54d294ae07deb55 ("qcacld-3.0: Remove
unused concurrency ini parameters") removed the last client of
csr_is_sta_session_connected(). Since this function is unused, remove
it.
Change-Id: I6c14227fb1364b37dd570cd658aedb0b5b10b341
CRs-Fixed: 2371197
This commit is contained in:
parent
2ef037ddcd
commit
bced99ae01
2 changed files with 0 additions and 30 deletions
|
|
@ -986,7 +986,6 @@ bool csr_is_conn_state_disconnected_wds(struct mac_context *mac,
|
|||
uint32_t sessionId);
|
||||
bool csr_is_any_session_in_connect_state(struct mac_context *mac);
|
||||
bool csr_is_all_session_disconnected(struct mac_context *mac);
|
||||
bool csr_is_sta_session_connected(struct mac_context *mac);
|
||||
|
||||
/**
|
||||
* csr_get_connected_infra() - get the session id of the connected infra
|
||||
|
|
|
|||
|
|
@ -1155,35 +1155,6 @@ bool csr_is_all_session_disconnected(struct mac_context *mac)
|
|||
return fRc;
|
||||
}
|
||||
|
||||
/**
|
||||
* csr_is_sta_session_connected() - to find if concurrent sta is active
|
||||
* @mac_ctx: pointer to mac context
|
||||
*
|
||||
* This function will iterate through each session and check if sta
|
||||
* session exist and active
|
||||
*
|
||||
* Return: true or false
|
||||
*/
|
||||
bool csr_is_sta_session_connected(struct mac_context *mac_ctx)
|
||||
{
|
||||
uint32_t i;
|
||||
struct csr_roam_session *pSession = NULL;
|
||||
|
||||
for (i = 0; i < CSR_ROAM_SESSION_MAX; i++) {
|
||||
if (CSR_IS_SESSION_VALID(mac_ctx, i) &&
|
||||
!csr_is_conn_state_disconnected(mac_ctx, i)) {
|
||||
pSession = CSR_GET_SESSION(mac_ctx, i);
|
||||
|
||||
if ((NULL != pSession->pCurRoamProfile) &&
|
||||
(QDF_STA_MODE ==
|
||||
pSession->pCurRoamProfile->csrPersona))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
uint8_t csr_get_connected_infra(struct mac_context *mac_ctx)
|
||||
{
|
||||
uint32_t i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue