DPP2: Allow Controller to be configured to require QR mutual auth
Extend the DPP_CONTROLLER_START command to accept the optional qr=mutual parameter similarly to the DPP_LISTEN case. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
61c249c490
commit
e4e95aabbf
3 changed files with 4 additions and 1 deletions
|
@ -3350,6 +3350,8 @@ int wpas_dpp_controller_start(struct wpa_supplicant *wpa_s, const char *cmd)
|
|||
else
|
||||
return -1;
|
||||
}
|
||||
|
||||
config.qr_mutual = os_strstr(cmd, " qr=mutual") != NULL;
|
||||
}
|
||||
config.configurator_params = wpa_s->dpp_configurator_params;
|
||||
return dpp_controller_start(wpa_s->dpp, &config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue