]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Send connection status result if disconnected during 4-way HS
authorChenming Huang <quic_chenhuan@quicinc.com>
Thu, 23 Jan 2025 02:07:39 +0000 (07:37 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 13 Feb 2025 20:44:38 +0000 (22:44 +0200)
commit90856b19507f9ad0b4046604c490defc8c7ffd61
treedeee455f4c10a3f88c7297f2141fb6a230c268fa
parentab3791d91db7280eea790b5586a5b43064daee12
DPP: Send connection status result if disconnected during 4-way HS

Connection status result was reported during failed 4-way handshake if
that failure might have been due to an incorrect phassphrase/password.
4-eay handshake might fail for other reasons and if that is the case,
the connection status result is delayed unnecessarily long untile the 15
second timeout occurs.

Optimize this by sending out the connection status result in all
disconnection cases that happen before the 4-way handshake has been
completed successfully.

Signed-off-by: Chenming Huang <quic_chenhuan@quicinc.com>
wpa_supplicant/events.c