From: Jouni Malinen Date: Tue, 25 Aug 2020 13:10:41 +0000 (+0300) Subject: DPP2: Support QR mutual auth scan-during-auth-exchange (hostapd) X-Git-Tag: hostap_2_10~976 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ddb71224bfd5bc43b76fc694e335c6128f4eb9f;p=thirdparty%2Fhostap.git DPP2: Support QR mutual auth scan-during-auth-exchange (hostapd) Extend DPP authentication session search for the DPP_QR_CODE command to cover the ongoing exchanges in Controller/Responder. This was previously done for wpa_supplicant, but not for hostapd, so complete this support on the hostapd side. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/dpp_hostapd.c b/src/ap/dpp_hostapd.c index bf62e63be..15aa82b85 100644 --- a/src/ap/dpp_hostapd.c +++ b/src/ap/dpp_hostapd.c @@ -66,6 +66,10 @@ int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd) wpabuf_len(hapd->dpp_auth->resp_msg)); } +#ifdef CONFIG_DPP2 + dpp_controller_new_qr_code(hapd->iface->interfaces->dpp, bi); +#endif /* CONFIG_DPP2 */ + return bi->id; }