summaryrefslogtreecommitdiff
path: root/profiles/deviceinfo
diff options
context:
space:
mode:
authorJefferson Delfes <jefferson.delfes@openbossa.org>2012-09-28 16:34:44 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-01 12:54:51 +0300
commit3d0e48b33446567a7e02772bb84bd55c87073937 (patch)
tree0c744b7f508b5795c6208ff82b7e6296de78d45f /profiles/deviceinfo
parent5e1174fb01bdb196efceb0f8bd801f262aeed4cd (diff)
downloadbluez-3d0e48b33446567a7e02772bb84bd55c87073937.tar.gz
gatt: Remove offset parameter from gatt_read_char
The Core spec allows to implement Read Long Characteristic Value as a Read Request, followed by zero or more Read Blob Requests, therefore the offset parameter is unnecessary and is always 0 for normal use.
Diffstat (limited to 'profiles/deviceinfo')
-rw-r--r--profiles/deviceinfo/deviceinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c
index e7c442fac..57652a01e 100644
--- a/profiles/deviceinfo/deviceinfo.c
+++ b/profiles/deviceinfo/deviceinfo.c
@@ -113,7 +113,7 @@ static void read_pnpid_cb(guint8 status, const guint8 *pdu, guint16 len,
static void process_deviceinfo_char(struct characteristic *ch)
{
if (g_strcmp0(ch->attr.uuid, PNPID_UUID) == 0)
- gatt_read_char(ch->d->attrib, ch->attr.value_handle, 0,
+ gatt_read_char(ch->d->attrib, ch->attr.value_handle,
read_pnpid_cb, ch);
}