In STA+SAP concurrency, when the STA connection is in progress or set_key is in progress, the set_hw_mode command to SME is queued and would be processed only after the connection is complete. Meanwhile, when a stop SAP is received and SAP Dissassociate STA is triggered from HDD, the command is queued in SME and cannot be processed until STA connection is done. The add_key command from the supplicant is also stuck as the previous stop_ap command is in progress leading to a deadlock. When the AP sends deauth to the STA due to 4 Way Handshake failure, the STA is reset and then the stop SAP command proceeds, followed by another connection for the STA. Disconnect STA interface first if connection or key exchange is in progress and then stop SAP interface to prevent this deadlock condition. Change-Id: I23ad1fc96882abeaae2d1b051659ea6d24b07428 CRs-Fixed: 2187070 |
||
---|---|---|
.. | ||
inc | ||
src |