wlan: Vos asserts due to assoc rej in concurrency
Fixes:
1. VOS_ASSERT in limProcessJoinFailureTimeout.
This vos_assert is triggered for not finding a session id.
When the connect request is issued, JoinFailure timer is
started for 10 * Beacon interval = 1020 ms in this case and
that assoc rsp results in reason code=17, CSR again tries to connect
to another BSSID while the timer is still running.
Now if this assoc rsp also fails with reason code=17, code deletes
the session created during add_bss and now if the join failure timeout
expires, it does not find the session, which is error or warning level,
but it is not fatal to log VOS_ASSERT. Hence changing this to LOGE.
And also, stop the join failure timer during delBss if the timer
is running and started for the same session on which delBss was
issued.
2. __limProcessSmeReassocReq: Session does not exist for given bssId
In this case, when CSR established successful connection 160ms before
assert, this function should not be called unless it is roaming
scenario; but even then not finding a session id here is not
a FATAL instead it can be ERROR or WARNING.
CRs-Fixed: 536215
Change-Id: I00746665119557c236f11387c9a74e7e652a8036
3 files changed