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 |
||
---|---|---|
.. | ||
bmi | ||
cds | ||
dp | ||
hdd | ||
mac | ||
pld | ||
sap | ||
sme | ||
wma |