Fix PATH of adapter_watch in bluetooth plugin
authorYingan Deng <ying.an.deng@intel.com>
Fri, 23 Jul 2010 02:28:56 +0000 (10:28 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 23 Jul 2010 02:50:59 +0000 (19:50 -0700)
The Path of the adapter_watch signal is not right, so the adapter
status can not be synced.

plugins/bluetooth.c

index 5103e25..410d0bb 100644 (file)
@@ -927,7 +927,7 @@ static int bluetooth_init(void)
                                                NULL, NULL);
 
        adapter_watch = g_dbus_add_signal_watch(connection, NULL, NULL,
-                                               BLUEZ_MANAGER_INTERFACE,
+                                               BLUEZ_ADAPTER_INTERFACE,
                                                PROPERTY_CHANGED, adapter_changed,
                                                NULL, NULL);