]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
GAS server: Increase query timeout to 60 seconds for DPP
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 3 Feb 2022 09:36:43 +0000 (11:36 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 4 Feb 2022 10:15:30 +0000 (12:15 +0200)
DPP Enrollee might wait for the configuration for 60 seconds, so
increase the DPP Configurator timeout for the GAS server operation to 60
seconds to cover that full wait time. This is needed for cases where
user interaction can take significant amount of time before the
configuration response can be generated.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/gas_server.c

index 3d5a27cf0d808b805eb39966bf8056dd1b12950d..745a13fc026e412e8018f1f9ec621b3051e62d57 100644 (file)
@@ -19,7 +19,7 @@
 
 
 #define MAX_ADV_PROTO_ID_LEN 10
-#define GAS_QUERY_TIMEOUT 10
+#define GAS_QUERY_TIMEOUT 60
 
 struct gas_server_handler {
        struct dl_list list;