mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: clear sme open session event
In failure scenario sme session id is getting reset but sme open session flag is not cleared. Due to this scan rejected from host. Clear the sme open session event in sme close failure/timeout scenario. Change-Id: I2cb91120947c38a25df508c376f0e1377717458f CRs-Fixed: 1072820
This commit is contained in:
parent
806fa4c2a7
commit
ada729259f
1 changed files with 5 additions and 1 deletions
|
|
@ -3417,8 +3417,12 @@ static void hdd_wait_for_sme_close_sesion(hdd_context_t *hdd_ctx,
|
|||
&adapter->session_close_comp_var,
|
||||
msecs_to_jiffies
|
||||
(WLAN_WAIT_TIME_SESSIONOPENCLOSE));
|
||||
if (!rc)
|
||||
if (!rc) {
|
||||
hdd_err("failure waiting for session_close_comp_var");
|
||||
if (adapter->device_mode == QDF_NDI_MODE)
|
||||
hdd_ndp_session_end_handler(adapter);
|
||||
clear_bit(SME_SESSION_OPENED, &adapter->event_flags);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue