OSDN Git Service

core: Keep the DBusConnection around for device handling
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 21 Jan 2013 00:13:31 +0000 (16:13 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 21 Jan 2013 00:13:31 +0000 (16:13 -0800)
It is required to have the connection around so device objects can
be deregistered. This happens triggered from the adapter handling.

src/device.c

index a760f78..53866de 100644 (file)
@@ -4134,5 +4134,4 @@ void btd_device_init(void)
 
 void btd_device_cleanup(void)
 {
-       dbus_conn = NULL;
 }