Loading
qcacld-3.0: Send disassoc cnf if host failed to send disassoc to FW
Problem scenario: 1) Host gets Firmware down indication and stops all timers. 2) While processing association completion, host sends disassoc if user changed reg domain during association and new channel falls out of current reg domain. 3) Host fails to send disassoc to fw as WMI is in stop state due to SSR 4) Host doesn't check wmi status for disassoc tx and on failure depends on disassoc ack timer to complete disassoc cnf. 5) As host stops timers on firmware down indication, disassoc ack timer doesn't trigger and host fails to complete disassoc cnf action. Which lead to stuck the vdev state machine at suspend down and peer refs remains undeleted. To fix this issue check the status of sending the disassoc, and if the disassoc failed to send then perform the follow-up actions that are normally performed upon receipt of the disassoc confirmation. Change-Id: Ic2b88cfcbcb755a869ee281be4e1e8a9cec8299b CRs-Fixed: 2816503