From 6bd6433c9f6b25d547530dff765dd7afeecff207 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Fri, 25 Jan 2013 00:07:05 -0300 Subject: [PATCH] device: Rename device_att_connect to device_connect_le This makes it clearer that this (currently unused) function should only be used with LE devices. --- src/device.c | 2 +- src/device.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device.c b/src/device.c index a3bb1ba20..1fd7777a6 100644 --- a/src/device.c +++ b/src/device.c @@ -3120,7 +3120,7 @@ static void att_success_cb(gpointer user_data) g_slist_foreach(device->attios, attio_connected, device->attrib); } -GIOChannel *device_att_connect(struct btd_device *dev) +GIOChannel *device_connect_le(struct btd_device *dev) { struct btd_adapter *adapter = dev->adapter; struct att_callbacks *attcb; diff --git a/src/device.h b/src/device.h index 5438b0da0..a86fd59ef 100644 --- a/src/device.h +++ b/src/device.h @@ -109,7 +109,7 @@ int device_unblock(struct btd_device *device, gboolean silent, void btd_device_set_pnpid(struct btd_device *device, uint16_t source, uint16_t vendor, uint16_t product, uint16_t version); -GIOChannel *device_att_connect(struct btd_device *dev); +GIOChannel *device_connect_le(struct btd_device *dev); struct btd_profile; -- 2.47.3