From add3d43dadeaae53161d12367acec3adc84b6b2f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 1 Feb 2021 15:30:15 -0600 Subject: [PATCH] station: expire networks found by hidden scan sooner --- src/station.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/station.c b/src/station.c index 6b95f879..1fb78935 100644 --- a/src/station.c +++ b/src/station.c @@ -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);