mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Clear roaming_in_progress during disconnect
There is a chance that roaming_in_progress is not reset if WOW_REASON_AP_ASSOC_LOST is received before roaming abort. Clear roaming_in_progress during disconnect to fix this. Also, clear connection_in_progress, defer_disconnect and disable napi. Change-Id: I9d7b80d83b423b0d5471ddb1aadc4d181fe76116 CRs-Fixed: 2022412
This commit is contained in:
parent
3f3fddd0c8
commit
5b22002a67
1 changed files with 5 additions and 0 deletions
|
|
@ -4826,6 +4826,11 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
|
|||
case eCSR_ROAM_DISASSOCIATED:
|
||||
{
|
||||
hdd_info("****eCSR_ROAM_DISASSOCIATED****");
|
||||
hdd_napi_serialize(0);
|
||||
cds_set_connection_in_progress(false);
|
||||
hdd_set_roaming_in_progress(false);
|
||||
pAdapter->defer_disconnect = 0;
|
||||
|
||||
/* Call to clear any MC Addr List filter applied after
|
||||
* successful connection.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue