]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Initialize conf_resp_status to non-OK
authorJouni Malinen <jouni@codeaurora.org>
Wed, 5 Feb 2020 23:18:58 +0000 (01:18 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Sat, 8 Feb 2020 05:19:53 +0000 (07:19 +0200)
commit1ba4a10a078b11745c54f6009c0c6c081a3668ca
tree0cd210ec3284716fed469ea10184660a6ddee01d
parent712819786231e07806a82674c1a424dcfb6fd781
DPP: Initialize conf_resp_status to non-OK

This avoids unexpected behavior if GAS query fails and the Config
Response does not get processed at all. Previously, this could result in
configuration being assumed to be successful instead of failure when
Config Response object was not received at all. That could result in
undesired Config Result frame transmission with DPP Rel 2 and not
clearing the ongoing DPP session.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.c