dbus: Enable the ObjectManager interface

This commit is contained in:
Andrew Zaborowski 2016-05-21 03:39:34 +02:00 committed by Denis Kenzior
parent 25b35db4a3
commit 3e2562a5a8
1 changed files with 3 additions and 0 deletions

View File

@ -182,6 +182,9 @@ static void ready_callback(void *user_data)
l_dbus_name_acquire(g_dbus, "net.connman.iwd", false, false, true,
request_name_callback, NULL);
if (!l_dbus_object_manager_enable(g_dbus))
l_info("Unable to register the ObjectManager");
manager_init(g_dbus);
}