aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/gatttool.c
diff options
context:
space:
mode:
authorChen Ganir <chen.ganir@ti.com>2012-03-26 09:35:59 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-26 12:18:00 +0300
commit1e064929b303cead29a85a108cbadfe93462c717 (patch)
tree6250f513bb94ef6e36df1ec290473969048a0dbc /attrib/gatttool.c
parent48c82115a2739881877fa857390ff2eca4dc73e0 (diff)
downloadbluez-1e064929b303cead29a85a108cbadfe93462c717.tar.gz
bluez-1e064929b303cead29a85a108cbadfe93462c717.tar.xz
bluez-1e064929b303cead29a85a108cbadfe93462c717.zip
GATT: Replace start/end with att_range
Use att_range struct instead of individual start/end handles in gatt_primary structure
Diffstat (limited to 'attrib/gatttool.c')
-rw-r--r--attrib/gatttool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attrib/gatttool.c b/attrib/gatttool.c
index 24a85a4f..21514af9 100644
--- a/attrib/gatttool.c
+++ b/attrib/gatttool.c
@@ -148,7 +148,7 @@ static void primary_all_cb(GSList *services, guint8 status, gpointer user_data)
for (l = services; l; l = l->next) {
struct gatt_primary *prim = l->data;
g_print("attr handle = 0x%04x, end grp handle = 0x%04x "
- "uuid: %s\n", prim->start, prim->end, prim->uuid);
+ "uuid: %s\n", prim->range.start, prim->range.end, prim->uuid);
}
done: