GAS: Do not cancel initial offchannel wait with comeback delay 1
The minimum comeback delay 1 is used to indicate that fragmentation is needed instead of indicating that the response is going to be available only after some time. Do not cancel offchannel wait for this case between the initial and comeback exchanges to avoid delaying the full operation unnecessarily. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
70f2a3f4ab
commit
c24f8e8e75
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ static void gas_query_tx_comeback_req_delay(struct gas_query *gas,
|
||||||
{
|
{
|
||||||
unsigned int secs, usecs;
|
unsigned int secs, usecs;
|
||||||
|
|
||||||
if (query->offchannel_tx_started) {
|
if (comeback_delay > 1 && query->offchannel_tx_started) {
|
||||||
offchannel_send_action_done(gas->wpa_s);
|
offchannel_send_action_done(gas->wpa_s);
|
||||||
query->offchannel_tx_started = 0;
|
query->offchannel_tx_started = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue