summaryrefslogtreecommitdiffstats
path: root/stack/gatt/att_protocol.c
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2014-05-04 10:03:35 -0700
committerSharvil Nanavati <sharvil@google.com>2014-06-19 06:45:38 +0000
commitb44cc59d286ad255e872c60df02e032bd8d9d75b (patch)
treead3782bbb41034c5bc740b9c54e453608574d1ed /stack/gatt/att_protocol.c
parent158084e065230a10ffeba6b24ab2fd22b422baed (diff)
downloadandroid_system_bt-b44cc59d286ad255e872c60df02e032bd8d9d75b.tar.gz
android_system_bt-b44cc59d286ad255e872c60df02e032bd8d9d75b.tar.bz2
android_system_bt-b44cc59d286ad255e872c60df02e032bd8d9d75b.zip
Logging cleanup: AVRC, MCA, GATT, and SMP.
Change-Id: I6d1e61ff023b5fd19f144955cff16831cc18c6e6
Diffstat (limited to 'stack/gatt/att_protocol.c')
-rw-r--r--stack/gatt/att_protocol.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/stack/gatt/att_protocol.c b/stack/gatt/att_protocol.c
index 51ea28490..53a640e52 100644
--- a/stack/gatt/att_protocol.c
+++ b/stack/gatt/att_protocol.c
@@ -335,7 +335,7 @@ BT_HDR *attp_build_value_cmd (UINT16 payload_size, UINT8 op_code, UINT16 handle,
if (op_code == GATT_RSP_READ_BY_TYPE)
*p_pair_len = (len + 2);
- GATT_TRACE_WARNING1("attribute value too long, to be truncated to %d", len);
+ GATT_TRACE_WARNING("attribute value too long, to be truncated to %d", len);
}
ARRAY_TO_STREAM (p, p_data, len);
@@ -364,7 +364,7 @@ BOOLEAN attp_send_msg_to_L2CAP(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP)
if (l2cap_ret == L2CAP_DW_FAILED)
{
- GATT_TRACE_ERROR1("ATT failed to pass msg:0x%0x to L2CAP",
+ GATT_TRACE_ERROR("ATT failed to pass msg:0x%0x to L2CAP",
*((UINT8 *)(p_toL2CAP + 1) + p_toL2CAP->offset));
GKI_freebuf(p_toL2CAP);
return FALSE;
@@ -391,7 +391,7 @@ BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg)
{
case GATT_RSP_READ_BLOB:
case GATT_RSP_PREPARE_WRITE:
- GATT_TRACE_EVENT2 ("ATT_RSP_READ_BLOB/GATT_RSP_PREPARE_WRITE: len = %d offset = %d",
+ GATT_TRACE_EVENT ("ATT_RSP_READ_BLOB/GATT_RSP_PREPARE_WRITE: len = %d offset = %d",
p_msg->attr_value.len, p_msg->attr_value.offset);
offset = p_msg->attr_value.offset;
/* Coverity: [FALSE-POSITIVE error] intended fall through */
@@ -426,12 +426,12 @@ BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg)
break;
default:
- GATT_TRACE_DEBUG1("attp_build_sr_msg: unknown op code = %d", op_code);
+ GATT_TRACE_DEBUG("attp_build_sr_msg: unknown op code = %d", op_code);
break;
}
if (!p_cmd)
- GATT_TRACE_ERROR0("No resources");
+ GATT_TRACE_ERROR("No resources");
return p_cmd;
}
@@ -625,7 +625,7 @@ tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code,
}
else
{
- GATT_TRACE_ERROR0("Peer device not connected");
+ GATT_TRACE_ERROR("Peer device not connected");
}
return status;