qcacld-3.0: Remove csr_is_infra_connected()
Change I2b469c6cb2e6bdfc735b04e9bd6f12ba0d41fea4 ("qcacld-3.0: Remove sme_is_sta_p2p_client_connected()") removed the last client of csr_is_infra_connected(). Since the function is now obsolete, remove it. Change-Id: I5a71cad7414aee56a981e640ef66687fe0433b4f CRs-Fixed: 2371135
This commit is contained in:
parent
738e8fd310
commit
5721ab88f7
@ -988,7 +988,6 @@ 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_all_session_disconnected(struct mac_context *mac);
|
||||||
bool csr_is_sta_session_connected(struct mac_context *mac);
|
bool csr_is_sta_session_connected(struct mac_context *mac);
|
||||||
bool csr_is_p2p_session_connected(struct mac_context *mac);
|
bool csr_is_p2p_session_connected(struct mac_context *mac);
|
||||||
bool csr_is_infra_connected(struct mac_context *mac);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* csr_get_connected_infra() - get the session id of the connected infra
|
* csr_get_connected_infra() - get the session id of the connected infra
|
||||||
|
@ -1235,22 +1235,6 @@ bool csr_is_p2p_session_connected(struct mac_context *mac)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool csr_is_infra_connected(struct mac_context *mac)
|
|
||||||
{
|
|
||||||
uint32_t i;
|
|
||||||
bool fRc = false;
|
|
||||||
|
|
||||||
for (i = 0; i < CSR_ROAM_SESSION_MAX; i++) {
|
|
||||||
if (CSR_IS_SESSION_VALID(mac, i)
|
|
||||||
&& csr_is_conn_state_connected_infra(mac, i)) {
|
|
||||||
fRc = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return fRc;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint8_t csr_get_connected_infra(struct mac_context *mac_ctx)
|
uint8_t csr_get_connected_infra(struct mac_context *mac_ctx)
|
||||||
{
|
{
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
|
Loading…
Reference in New Issue
Block a user