mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
DPP2: Clear requirement for QR Code mutual authentication for chirping
The chirping cases are not really targeting interactive operations, so clear the requirement for mutual authentication when DPP_CHIRP command is used. This avoids testing isues where an earlier DPP_LISTEN command has used qr=mutual parameter and that seting not getting cleared before the next DPP_CHIRP command is used. This fixes a test case failure in the following test sequence: dpp_auth_resp_status_failure dpp_controller_relay_chirp Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
a371164f88
commit
1dcfbab254
@ -3020,6 +3020,7 @@ int wpas_dpp_chirp(struct wpa_supplicant *wpa_s, const char *cmd)
|
||||
|
||||
wpas_dpp_chirp_stop(wpa_s);
|
||||
wpa_s->dpp_allowed_roles = DPP_CAPAB_ENROLLEE;
|
||||
wpa_s->dpp_qr_mutual = 0;
|
||||
wpa_s->dpp_chirp_bi = bi;
|
||||
wpa_s->dpp_presence_announcement = dpp_build_presence_announcement(bi);
|
||||
if (!wpa_s->dpp_presence_announcement)
|
||||
|
Loading…
Reference in New Issue
Block a user