From: Yingan Deng <[email protected]>

The Path of the adapter_watch signal is not right, so the adapter
status can not be synced.
---
 plugins/bluetooth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 5103e25..410d0bb 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -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);
 
-- 
1.6.1.3

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to