diff --git a/src/common/dpp.c b/src/common/dpp.c index a1f94e5f1..ab7072cf6 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -5013,7 +5013,7 @@ dpp_build_conf_obj(struct dpp_authentication *auth, int ap, int idx) else conf = NULL; if (!conf) { - if (idx != 0) + if (idx == 0) wpa_printf(MSG_DEBUG, "DPP: No configuration available for Enrollee(%s) - reject configuration request", ap ? "ap" : "sta");