From: Jouni Malinen Date: Sat, 20 Apr 2013 23:48:10 +0000 (-0700) Subject: GAS: Reduce query timeout to two seconds X-Git-Tag: aosp-kk-from-upstream~232 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f65f539d9ac1fb7b990d1345329f5bb411428ed7;p=thirdparty%2Fhostap.git 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 --- 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 /**