]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP2: Accept Config Result before GAS response TX status
authorJouni Malinen <j@w1.fi>
Sun, 21 Feb 2021 14:44:33 +0000 (16:44 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Feb 2021 14:44:33 +0000 (16:44 +0200)
commit976c3c161f890dd3960ca9c7e26d75bc1a9766c3
tree4cb69f3d5061579142373aa3d61d79a978d42ba2
parent6518c72b02b26d801efe725a471c9676a191cc81
DPP2: Accept Config Result before GAS response TX status

The TX event for the next frame in the sequence might be received before
the TX status for the final GAS response frame is processed. This used
to result in the Config Result getting discarded and the negotiation not
completing successfully on the Configurator side.

Accept the Config Result message as an indication of the final GAS
response frame having went through fine even if the TX status has not
yet been processed to avoid this issue from a potential race condition
on kernel events.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/dpp.h
src/common/gas_server.c
src/common/gas_server.h
wpa_supplicant/dpp_supplicant.c