mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 14:00:18 +01:00
wifi: fix trimming list of tracked ssids to scan
Fixes:e07fc217ec('wifi: rework scanning of Wi-Fi device') (cherry picked from commit8fb2241183)
This commit is contained in:
parent
c81f599b04
commit
783be3ab7e
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ _scan_request_ssids_remove_all (NMDeviceWifiPrivate *priv,
|
|||
cutoff_time_msec = cutoff_with_now_msec - SCAN_REQUEST_SSIDS_MAX_AGE_MSEC;
|
||||
while ((srs_data = c_list_last_entry (&priv->scan_request_ssids_lst_head, ScanRequestSsidData, lst))) {
|
||||
if (srs_data->timestamp_msec > cutoff_time_msec)
|
||||
return;
|
||||
break;
|
||||
_scan_request_ssids_remove (priv, srs_data, NULL);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue