Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapie...@canonical.com> --- src/devices/wifi/nm-device-wifi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c index e1d9343..4af102c 100644 --- a/src/devices/wifi/nm-device-wifi.c +++ b/src/devices/wifi/nm-device-wifi.c @@ -1814,8 +1814,10 @@ cull_scan_list (NMDeviceWifi *self) * supplicant in the last scan. */ if ( nm_ap_get_supplicant_path (ap) - && g_object_get_data (G_OBJECT (ap), WPAS_REMOVED_TAG) == NULL) + && g_object_get_data (G_OBJECT (ap), WPAS_REMOVED_TAG) == NULL) { + nm_ap_set_last_seen (ap, nm_utils_get_monotonic_timestamp_s ()); continue; + } last_seen = nm_ap_get_last_seen (ap); if (!last_seen || last_seen + prune_interval_s < now) -- 2.1.0 _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list