GAS server: Replenish temporary STA entry timeout on comeback request
Previously, the five second timeout was added at the beginning of the full GAS query and it was not replenished during fragmented exchanges. This could result in timing out a query if it takes significant time to go through the possibly multiple fragments and long comeback delay. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8fb718a748
commit
a587666cba
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr,
|
|||
if (sta->gas_dialog[i].dialog_token != dialog_token ||
|
||||
!sta->gas_dialog[i].valid)
|
||||
continue;
|
||||
ap_sta_replenish_timeout(hapd, sta, 5);
|
||||
return &sta->gas_dialog[i];
|
||||
}
|
||||
wpa_printf(MSG_DEBUG, "ANQP: Could not find dialog for "
|
||||
|
|
Loading…
Reference in a new issue