summaryrefslogtreecommitdiff
path: root/plugins/policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/policy.c')
-rw-r--r--plugins/policy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/policy.c b/plugins/policy.c
index 218a3ed25..80f1732d8 100644
--- a/plugins/policy.c
+++ b/plugins/policy.c
@@ -100,7 +100,7 @@ static void policy_connect(struct policy_data *data,
{
struct btd_profile *profile = btd_service_get_profile(service);
- DBG("%s profile %s", device_get_path(data->dev), profile->name);
+ DBG("%s profile %s", btd_device_get_path(data->dev), profile->name);
btd_service_connect(service);
}
@@ -110,7 +110,7 @@ static void policy_disconnect(struct policy_data *data,
{
struct btd_profile *profile = btd_service_get_profile(service);
- DBG("%s profile %s", device_get_path(data->dev), profile->name);
+ DBG("%s profile %s", btd_device_get_path(data->dev), profile->name);
btd_service_disconnect(service);
}
@@ -710,7 +710,7 @@ static void disconnect_cb(struct btd_device *dev, uint8_t reason)
return;
DBG("Device %s identified for auto-reconnection",
- device_get_path(dev));
+ btd_device_get_path(dev));
reconnect_set_timer(reconnect);
}