]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
GAS: Reduce query timeout to two seconds
authorJouni Malinen <jouni@qca.qualcomm.com>
Sat, 20 Apr 2013 23:48:10 +0000 (16:48 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 20 May 2013 08:09:34 +0000 (11:09 +0300)
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 <jouni@qca.qualcomm.com>

wpa_supplicant/gas_query.c

index 38c342e24c97296e5fcf7effe31464a4c9e77eb0..06a97d359350168a9949ab0b52c9bade5dc4e947 100644 (file)
@@ -20,7 +20,7 @@
 
 
 /** GAS query timeout in seconds */
-#define GAS_QUERY_TIMEOUT_PERIOD 5
+#define GAS_QUERY_TIMEOUT_PERIOD 2
 
 
 /**