wifi: expose LastScan as milliseconds not seconds

This doesn't wrap around in 68 years of uptime and is consistent with
o.fd.NM.Checkpoint.Created.
This commit is contained in:
Lubomir Rintel
2018-06-15 13:57:30 +02:00
committed by Thomas Haller
parent 1c0aa397b3
commit 07fd0502f6
11 changed files with 53 additions and 52 deletions

View File

@@ -924,7 +924,7 @@ class WifiDevice(Device):
PRP_WIFI_WIRELESS_CAPABILITIES: dbus.UInt32(0xFF),
PRP_WIFI_ACCESS_POINTS: ExportedObj.to_path_array(self.aps),
PRP_WIFI_ACTIVE_ACCESS_POINT: ExportedObj.to_path(None),
PRP_WIFI_LAST_SCAN: dbus.Int32(0x70000000),
PRP_WIFI_LAST_SCAN: dbus.Int64(0x7000000000000000),
}
self.dbus_interface_add(IFACE_WIFI, props, WifiDevice.PropertiesChanged)