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 38c342e..06a97d3 100644 (file)
@@ -20,7 +20,7 @@
 
 
 /** GAS query timeout in seconds */
-#define GAS_QUERY_TIMEOUT_PERIOD 5
+#define GAS_QUERY_TIMEOUT_PERIOD 2
 
 
 /**