3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

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

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);