station: expire networks found by hidden scan sooner

This commit is contained in:
Denis Kenzior 2021-02-01 15:30:15 -06:00
parent 08a295c348
commit add3d43dad
1 changed files with 6 additions and 0 deletions

View File

@ -2619,6 +2619,12 @@ static bool station_hidden_network_scan_results(int err,
memcmp(bss->ssid, ssid, ssid_len))
goto next;
/*
* Override time_stamp so that this entry is removed on
* the next scan
*/
bss->time_stamp = 0;
if (station_add_seen_bss(station, bss)) {
l_queue_push_tail(station->bss_list, bss);