summaryrefslogtreecommitdiff
path: root/attrib/gatt.c
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2013-07-19 13:34:08 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-07-24 08:41:32 -0700
commit1d4f111fae897e5bbee5733955dd2d75c815e659 (patch)
treec5815e8eaeebaf861acb0a9f7d3488a272726aec /attrib/gatt.c
parent613cc886ed90dec320e14e9bc938f480594ae3b8 (diff)
downloadbluez-1d4f111fae897e5bbee5733955dd2d75c815e659.tar.gz
attrib: Rename gatt_find_info() to gatt_discover_char_desc()
The old name referred to the underlying ATT PDU (Find Information Request and Find Information Response) and not to the actual GATT procedure (Discover All Characteristic Descriptors).
Diffstat (limited to 'attrib/gatt.c')
-rw-r--r--attrib/gatt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attrib/gatt.c b/attrib/gatt.c
index 9482e0704..d21dd392c 100644
--- a/attrib/gatt.c
+++ b/attrib/gatt.c
@@ -832,7 +832,7 @@ guint gatt_exchange_mtu(GAttrib *attrib, uint16_t mtu, GAttribResultFunc func,
return g_attrib_send(attrib, 0, buf, plen, func, user_data, NULL);
}
-guint gatt_find_info(GAttrib *attrib, uint16_t start, uint16_t end,
+guint gatt_discover_char_desc(GAttrib *attrib, uint16_t start, uint16_t end,
GAttribResultFunc func, gpointer user_data)
{
uint8_t *buf;