mirror of git://git.sysmocom.de/ofono
gdbus: Use client service name and not hardcoded org.bluez
This commit is contained in:
parent
8bef871cff
commit
91e3369a38
|
@ -881,7 +881,7 @@ static void get_managed_objects(GDBusClient *client)
|
||||||
{
|
{
|
||||||
DBusMessage *msg;
|
DBusMessage *msg;
|
||||||
|
|
||||||
msg = dbus_message_new_method_call("org.bluez", "/",
|
msg = dbus_message_new_method_call(client->service_name, "/",
|
||||||
DBUS_INTERFACE_DBUS ".ObjectManager",
|
DBUS_INTERFACE_DBUS ".ObjectManager",
|
||||||
"GetManagedObjects");
|
"GetManagedObjects");
|
||||||
if (msg == NULL)
|
if (msg == NULL)
|
||||||
|
|
Loading…
Reference in New Issue