This fixes the following error:
monitor/att.c: In function 'print_attribute':
monitor/att.c:1850:35: error: lvalue required as unary '&' operand
print_uuid(label, &cpu_to_le16(uuid->value.u16), 2);
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
switch (uuid->type) {
case BT_UUID16:
sprintf(label, "Handle: 0x%4.4x Type", handle);
- print_uuid(label, &cpu_to_le16(uuid->value.u16), 2);
+ print_field("%s: %s (0x%4.4x)", label,
+ bt_uuid16_to_str(uuid->value.u16),
+ uuid->value.u16);
return;
case BT_UUID128:
sprintf(label, "Handle: 0x%4.4x Type", handle);