GAS: Limit TX wait time based on driver maximum value
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 12 Jun 2014 07:56:06 +0000 (10:56 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 07:56:06 +0000 (10:56 +0300)
commit5519241676ec182225cf11c44e42e974c490b3c7
treed32045eabdb18a3c81aa3693f97ca656ce91e91a
parenta0ab408d3b04f3bdb458fe434c9bed6c9698c5ac
GAS: Limit TX wait time based on driver maximum value

The GAS query TX operation used a fixed wait time of 1000 ms for the
reply. However, it would be possible for the driver to not support this
long remain-on-channel maximum. Limit this wait time based on driver
support, if needed.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/gas_query.c