summaryrefslogtreecommitdiff
path: root/src/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.c')
-rw-r--r--src/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profile.c b/src/profile.c
index 5a4f09ce9..8bfd38dde 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -978,7 +978,7 @@ static bool send_new_connection(struct ext_profile *ext, struct ext_io *conn)
dbus_message_iter_init_append(msg, &iter);
- path = device_get_path(conn->device);
+ path = btd_device_get_path(conn->device);
dbus_message_iter_append_basic(&iter, DBUS_TYPE_OBJECT_PATH, &path);
fd = g_io_channel_unix_get_fd(conn->io);
@@ -1701,7 +1701,7 @@ static int send_disconn_req(struct ext_profile *ext, struct ext_io *conn)
return -ENOMEM;
}
- path = device_get_path(conn->device);
+ path = btd_device_get_path(conn->device);
dbus_message_append_args(msg, DBUS_TYPE_OBJECT_PATH, &path,
DBUS_TYPE_INVALID);