commit add3d43dadeaae53161d12367acec3adc84b6b2f
parent 08a295c3482cccac3c14ae6965bcbaa7d853e421
Author: Denis Kenzior <denkenz@gmail.com>
Date: Mon, 1 Feb 2021 15:30:15 -0600
station: expire networks found by hidden scan sooner
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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);