mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-31 23:42:52 +01:00
station: expire networks found by hidden scan sooner
This commit is contained in:
parent
08a295c348
commit
add3d43dad
@ -2619,6 +2619,12 @@ static bool station_hidden_network_scan_results(int err,
|
|||||||
memcmp(bss->ssid, ssid, ssid_len))
|
memcmp(bss->ssid, ssid, ssid_len))
|
||||||
goto next;
|
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)) {
|
if (station_add_seen_bss(station, bss)) {
|
||||||
l_queue_push_tail(station->bss_list, bss);
|
l_queue_push_tail(station->bss_list, bss);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user