]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Fix confusing debug entry from Configurator
authorJouni Malinen <jouni@codeaurora.org>
Fri, 11 Oct 2019 10:04:42 +0000 (13:04 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 11 Oct 2019 10:04:42 +0000 (13:04 +0300)
commit9c08bfbd91566794b14da873859bff8190d7b5ff
tree603b89ce7d58b70c34378c4440dc5f5e54adce3e
parentd905c8f7a75b521f85f201749412152e8d79b9ec
DPP: Fix confusing debug entry from Configurator

The logic for displaying the message about no configuration being
available for the Enrollee was reversed when support for multiple Config
Objects was added. This was supposed to be shown only if the first
Config Object fails (i.e., when no configuration is available); not when
second attempt fails (since the first one had already been successful in
that case).

Fixes: 7eb06a33697f ("DPP2: Allow multiple Config Objects to be build on Configurator")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.c