]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/dpp_supplicant.c
DPP: Indicate authentication success on ConfReqRX if needed
authorJouni Malinen <jouni@codeaurora.org>
Mon, 5 Aug 2019 10:31:14 +0000 (13:31 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 5 Aug 2019 10:31:14 +0000 (13:31 +0300)
commit422e73d623b4ba314136b7ec78ed7d8062774748
tree940fd7bfc21f9abca88e4de0118403a439133d67
parent938c6e7b3d415909b91a448b964e0c3865979ed8
DPP: Indicate authentication success on ConfReqRX if needed

It is possible to receive the Configuration Request frame before having
seen TX status for the Authentication Confirm. In that sequence, the
DPP-AUTH-SUCCESS event would not be indicated before processing the
configuration step and that could confuse upper layers that follow the
details of the DPP exchange. As a workaround, indicate DPP-AUTH-SUCCESS
when receiving the Configuration Request since the Enrollee/Responser
has clearly receive the Authentication Confirm even if the TX status for
it has not been received.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/dpp_supplicant.c