android_kernel_xiaomi_sm8350/core
Min Liu 602c1b19a6 qcacld-3.0: Fix race condition when disconnecting
When an attempt of connection failed and followed by a disconnection
initiated from user space, randomly it would take more than 10 seconds
to complete the disconnection due to disconnect_comp_var is not
completed in some race condition and it has to wait till timeout.

To fix this race condition, in hdd_association_completion_handler, also
need to complete disconnect_comp_var for the case when hddDisconInProgress
is true and roam_status is eCSR_ROAM_ASSOCIATION_FAILURE or
eCSR_ROAM_CANCELLED, it will also cover the following scenario besides
the one mentioned above:

Connection is in progress. But the connect command is in pending queue
and is removed from pending queue as part of csr_roam_disconnect.

Change-Id: Ib6a30057469d60efcc905d97b5234ea5a0e097a8
CRs-Fixed: 2547320
2019-10-23 03:46:38 -07:00
..
bmi qcacld-3.0: Add synchronization between unloading & SSR recovering 2019-10-19 19:25:31 -07:00
cds qcacld-3.0: Process rx_mgmt_pkt based on frequency 2019-10-18 02:55:17 -07:00
dp Revert "qcacld-3.0: Featurize partial reorder properly" 2019-10-17 22:46:42 -07:00
hdd qcacld-3.0: Fix race condition when disconnecting 2019-10-23 03:46:38 -07:00
mac qcacld-3.0: Send the vdev create to firmware in the caller thread 2019-10-23 03:46:29 -07:00
pld qcacld-3.0: Add PLD layer for WHUNT 2019-10-22 03:36:46 -07:00
sap qcacld-3.0: Use policy manager frequency APIs 2019-10-22 18:09:45 -07:00
sme qcacld-3.0: Send the vdev create to firmware in the caller thread 2019-10-23 03:46:29 -07:00
wma qcacld-3.0: Cleanup chanmode from from struct wma_txrx_node 2019-10-23 02:14:33 -07:00