summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/device.c b/src/device.c
index 778fc6f2..1e7747d6 100644
--- a/src/device.c
+++ b/src/device.c
@@ -533,11 +533,6 @@ void device_set_connected(DBusConnection *conn, struct btd_device *device,
{
device->connected = connected;
- if (!connected && device->discov_timer) {
- g_source_remove(device->discov_timer);
- device->discov_timer = 0;
- }
-
dbus_connection_emit_property_changed(conn, device->path,
DEVICE_INTERFACE,
"Connected", DBUS_TYPE_BOOLEAN,