From f65f539d9ac1fb7b990d1345329f5bb411428ed7 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 20 Apr 2013 16:48:10 -0700 Subject: [PATCH] GAS: Reduce query timeout to two seconds The five second timeout for GAS queries is excessive and can result in long waits in cases where APs are either misconfigured or frames are lost. Signed-hostap: Jouni Malinen --- wpa_supplicant/gas_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/gas_query.c b/wpa_supplicant/gas_query.c index 38c342e24..06a97d359 100644 --- a/wpa_supplicant/gas_query.c +++ b/wpa_supplicant/gas_query.c @@ -20,7 +20,7 @@ /** GAS query timeout in seconds */ -#define GAS_QUERY_TIMEOUT_PERIOD 5 +#define GAS_QUERY_TIMEOUT_PERIOD 2 /**