GAS: Cancel gas_query_timeout when AP responds with comeback delay
When AP responds with comeback delay for initial GAS query sent by STA, gas_query_timeout should be cancelled to avoid GAS failures when comeback delay is more than GAS_QUERY_TIMEOUT_PERIOD. The gas_query_timeout is getting registered again when tx_status is received for GAS comeback request. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
d5bd941339
commit
53b38209f4
1 changed files with 1 additions and 0 deletions
|
@ -407,6 +407,7 @@ static void gas_query_rx_initial(struct gas_query *gas,
|
|||
}
|
||||
|
||||
if (comeback_delay) {
|
||||
eloop_cancel_timeout(gas_query_timeout, gas, query);
|
||||
query->wait_comeback = 1;
|
||||
gas_query_tx_comeback_req_delay(gas, query, comeback_delay);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue