aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/client.c
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-07-22 16:50:59 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:44 -0400
commit735bc5019a487e62b293c60c0fd819481c9925ed (patch)
treedad689c4963765cfe49c921a216eedece0afa1c0 /attrib/client.c
parentcb1b86a6abc692a0daa73d62454d1052d6a688d1 (diff)
downloadbluez-735bc5019a487e62b293c60c0fd819481c9925ed.tar.gz
bluez-735bc5019a487e62b293c60c0fd819481c9925ed.tar.xz
bluez-735bc5019a487e62b293c60c0fd819481c9925ed.zip
Fix ATT utility functions naming
If we want to support both client and server roles, we must be clear that we are encoding/decoding requests or responses.
Diffstat (limited to 'attrib/client.c')
-rw-r--r--attrib/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/attrib/client.c b/attrib/client.c
index 2f1698eb..d840c767 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -142,8 +142,7 @@ static guint gatt_discover_primary(GAttrib *attrib, uint16_t start,
sdp_uuid16_create(&uuid, GATT_PRIM_SVC_UUID);
- plen = att_read_by_grp_type_encode(start, end,
- &uuid, pdu, sizeof(pdu));
+ plen = enc_read_by_grp_req(start, end, &uuid, pdu, sizeof(pdu));
if (plen == 0)
return 0;