summaryrefslogtreecommitdiff
path: root/src/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/agent.c')
-rw-r--r--src/agent.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/agent.c b/src/agent.c
index ff44d5755..97658d2b2 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -529,7 +529,7 @@ int agent_request_pincode(struct agent *agent, struct btd_device *device,
void *user_data, GDestroyNotify destroy)
{
struct agent_request *req;
- const char *dev_path = device_get_path(device);
+ const char *dev_path = btd_device_get_path(device);
int err;
if (agent->request)
@@ -623,7 +623,7 @@ int agent_request_passkey(struct agent *agent, struct btd_device *device,
GDestroyNotify destroy)
{
struct agent_request *req;
- const char *dev_path = device_get_path(device);
+ const char *dev_path = btd_device_get_path(device);
int err;
if (agent->request)
@@ -682,7 +682,7 @@ int agent_request_confirmation(struct agent *agent, struct btd_device *device,
void *user_data, GDestroyNotify destroy)
{
struct agent_request *req;
- const char *dev_path = device_get_path(device);
+ const char *dev_path = btd_device_get_path(device);
int err;
if (agent->request)
@@ -739,7 +739,7 @@ int agent_request_authorization(struct agent *agent, struct btd_device *device,
GDestroyNotify destroy)
{
struct agent_request *req;
- const char *dev_path = device_get_path(device);
+ const char *dev_path = btd_device_get_path(device);
int err;
if (agent->request)
@@ -768,7 +768,7 @@ int agent_display_passkey(struct agent *agent, struct btd_device *device,
uint32_t passkey, uint16_t entered)
{
DBusMessage *message;
- const char *dev_path = device_get_path(device);
+ const char *dev_path = btd_device_get_path(device);
message = dbus_message_new_method_call(agent->owner, agent->path,
AGENT_INTERFACE, "DisplayPasskey");
@@ -874,7 +874,7 @@ int agent_display_pincode(struct agent *agent, struct btd_device *device,
void *user_data, GDestroyNotify destroy)
{
struct agent_request *req;
- const char *dev_path = device_get_path(device);
+ const char *dev_path = btd_device_get_path(device);
int err;
if (agent->request)