summaryrefslogtreecommitdiff
path: root/profiles/cyclingspeed
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 /profiles/cyclingspeed
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 'profiles/cyclingspeed')
-rw-r--r--profiles/cyclingspeed/cyclingspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/cyclingspeed/cyclingspeed.c b/profiles/cyclingspeed/cyclingspeed.c
index ea6076ca4..6ecc98557 100644
--- a/profiles/cyclingspeed/cyclingspeed.c
+++ b/profiles/cyclingspeed/cyclingspeed.c
@@ -506,7 +506,7 @@ static void discover_desc(struct csc *csc, struct gatt_char *c,
ch->csc = csc;
memcpy(ch->uuid, c->uuid, sizeof(c->uuid));
- gatt_find_info(csc->attrib, start, end, discover_desc_cb, ch);
+ gatt_discover_char_desc(csc->attrib, start, end, discover_desc_cb, ch);
}
static void update_watcher(gpointer data, gpointer user_data)