From cbce7693487a3352a91929e0014333cc7baa8dc2 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 22 Oct 2015 10:56:03 +0300 Subject: [PATCH] core/device: Be consistent with function names Rename device_remove_gatt_profile to device_remove_gatt_service. --- src/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device.c b/src/device.c index 222c87fae..906a1a7f8 100644 --- a/src/device.c +++ b/src/device.c @@ -3302,7 +3302,7 @@ static void device_accept_gatt_profiles(struct btd_device *device) service_accept(l->data); } -static void device_remove_gatt_profile(struct btd_device *device, +static void device_remove_gatt_service(struct btd_device *device, struct gatt_db_attribute *attr) { struct btd_service *service; @@ -3437,7 +3437,7 @@ static void gatt_service_removed(struct gatt_db_attribute *attr, * remove it anyway. */ if (device->client || device->temporary == TRUE) - device_remove_gatt_profile(device, attr); + device_remove_gatt_service(device, attr); g_free(l->data); device->uuids = g_slist_delete_link(device->uuids, l); -- 2.47.3