qcacld-3.0: Remove csr_disconnect_all_active_sessions()

Function csr_disconnect_all_active_sessions() is obsolete and no
longer used, so remove it.

Change-Id: Ia2c0faa2429b706a2b7829444cd21cae4431a6ea
CRs-Fixed: 2281077
This commit is contained in:
Jeff Johnson 2018-07-07 09:46:54 -07:00 • committed by nshrivas
commit daba7ef043
2 changed files with 0 additions and 29 deletions

View file

@ -1273,9 +1273,6 @@ QDF_STATUS csr_get_tsm_stats(tpAniSirGlobal pMac,
void *pContext, uint8_t tid);
#endif
/* Remove this code once SLM_Sessionization is supported */
void csr_disconnect_all_active_sessions(tpAniSirGlobal pMac);
/* Returns whether "Legacy Fast Roaming" is enabled...or not */
bool csr_roam_is_fast_roam_enabled(tpAniSirGlobal pMac,
uint32_t sessionId);

View file

@ -6135,32 +6135,6 @@ uint16_t sme_chn_to_freq(uint8_t chanNum)
return 0;
}
/* Disconnect all active sessions by sending disassoc. This is mainly
* used to disconnect the remaining session when we transition from
* concurrent sessions to a single session. The use case is Infra STA
* and wifi direct multiple sessions are up and P2P session is removed.
* The Infra STA session remains and should resume BMPS if BMPS is enabled
* by default. However, there are some issues seen with BMPS resume during
* this transition and this is a workaround which will allow the Infra STA
* session to disconnect and auto connect back and enter BMPS this giving
* the same effect as resuming BMPS
*/
/* Remove this code once SLM_Sessionization is supported */
/* BMPS_WORKAROUND_NOT_NEEDED */
void csr_disconnect_all_active_sessions(tpAniSirGlobal pMac)
{
uint8_t i;
/* Disconnect all the active sessions */
for (i = 0; i < CSR_ROAM_SESSION_MAX; i++) {
if (CSR_IS_SESSION_VALID(pMac, i)
&& !csr_is_conn_state_disconnected(pMac, i))
csr_roam_disconnect_internal(pMac, i,
eCSR_DISCONNECT_REASON_UNSPECIFIED);
}
}
struct lim_channel_status *csr_get_channel_status(
void *p_mac, uint32_t channel_id)
{