DPP2: Do not try to proceed with GAS client if CSR building fails
This error path was supposed to stop instead of continuing to wpas_dpp_start_gas_client(). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
ffc8ae507e
commit
697fa0c4bd
1 changed files with 1 additions and 0 deletions
|
@ -1519,6 +1519,7 @@ static void wpas_dpp_build_csr(void *eloop_ctx, void *timeout_ctx)
|
||||||
if (!auth->csr) {
|
if (!auth->csr) {
|
||||||
dpp_auth_deinit(wpa_s->dpp_auth);
|
dpp_auth_deinit(wpa_s->dpp_auth);
|
||||||
wpa_s->dpp_auth = NULL;
|
wpa_s->dpp_auth = NULL;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wpas_dpp_start_gas_client(wpa_s);
|
wpas_dpp_start_gas_client(wpa_s);
|
||||||
|
|
Loading…
Reference in a new issue