mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Reset wait for key before sending close session
If wait for key is set during close session, the request is dropped in CSR and thus during SSR the BSS peer and SELF peer are not deleted resulting in peer leakage. Fix this by resetting wait for key before sending close session. Change-Id: I139640ad5ad473372bce24413f7ace1cef32fbc3 CRs-Fixed: 2294417
This commit is contained in:
parent
d89e09f4e4
commit
809c41a5f6
1 changed files with 7 additions and 0 deletions
|
|
@ -17630,6 +17630,13 @@ QDF_STATUS csr_roam_close_session(tpAniSirGlobal mac_ctx,
|
|||
return status;
|
||||
}
|
||||
|
||||
if (CSR_IS_WAIT_FOR_KEY(mac_ctx, session_id)) {
|
||||
sme_debug("Stop Wait for key timer and change substate to eCSR_ROAM_SUBSTATE_NONE");
|
||||
csr_roam_stop_wait_for_key_timer(mac_ctx);
|
||||
csr_roam_substate_change(mac_ctx, eCSR_ROAM_SUBSTATE_NONE,
|
||||
session_id);
|
||||
}
|
||||
|
||||
purge_sme_session_pending_cmd_list(mac_ctx, session_id);
|
||||
purge_sme_session_active_cmd_list(mac_ctx, session_id);
|
||||
purge_sme_session_pending_scan_cmd_list(mac_ctx, session_id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue