wlan: Set connState to not connected if conn fails with disconnect pending
If driver receive stop adapter when STA is in connecting state, driver queue a disconnect command without changing the connState of the STA. It also sets the sme session disconnect in progress. Now if the connection fails and if sme session disconnect in progress is set driver doesn't send assoc failure indication to HDD and thus the connState state remain connecting, now when HDD receives disconnect callback it assume that connection is in progress and thus doesn't change the connState. Thus STA remain in connection in progress and reject scans continuously. Fix is to call assoc failure indication to HDD in case sme session disconnect in progress and connect fails. Also before processing the disconnect set the connState to disconnecting so that HDD is in proper state. Change-Id: Ib9d607ad2ab05e5edc266e59516b4ae2b7668c78 CRs-Fixed: 2276843
Loading
Please register or sign in to comment