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 <jouni@codeaurora.org>
This commit is contained in:
parent
c043b1e000
commit
7ddb71224b
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd)
|
||||||
wpabuf_len(hapd->dpp_auth->resp_msg));
|
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;
|
return bi->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue