[PATCH] DPP: Start GAS server when GAS request comes before Auth Confirm status
Gustavo Bertoli
gubertoli at gmail.com
Mon Nov 16 15:57:04 PST 2026
Commit a6d157b6f ("DPP: Start a listen operation for GAS server if
needed") starts the listen for GAS only after wpas_dpp_auth_success()
has started the GAS server. The path added in commit 422e73d62 ("DPP:
Indicate authentication success on ConfReqRX if needed") for a GAS
request that arrives before the TX status of the Authentication Confirm
does not start it, so a Configurator that is not otherwise listening
stops receiving Comeback Requests once its last TX wait ends. The
exchange fails if the response is not ready by then, e.g., while a CA
signs the Enrollee's CSR.
Start the GAS server in this case as well.
Signed-off-by: Gustavo Bertoli <gubertoli at gmail.com>
---
wpa_supplicant/dpp_supplicant.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 5be11f48b..a2bbe85dd 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -4284,6 +4284,7 @@ wpas_dpp_gas_req_handler(void *ctx, void *resp_ctx, const u8 *sa,
return NULL;
}
#endif /* CONFIG_TESTING_OPTIONS */
+ wpas_dpp_start_gas_server(wpa_s);
}
wpa_hexdump(MSG_DEBUG,
--
2.43.0
More information about the Hostap
mailing list