summaryrefslogtreecommitdiffstats
path: root/stack/gatt/att_protocol.c
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2014-06-28 10:58:27 -0700
committerMatthew Xie <mattx@google.com>2014-06-28 10:58:27 -0700
commit4dcde90649cc51ca815a50d338a73adb408ab258 (patch)
treec3de3a4661db326391b833172057857491c7475f /stack/gatt/att_protocol.c
parenta7324778bb12390f4c8fead853a0eb7d9b558886 (diff)
parentb44cc59d286ad255e872c60df02e032bd8d9d75b (diff)
downloadandroid_system_bt-4dcde90649cc51ca815a50d338a73adb408ab258.tar.gz
android_system_bt-4dcde90649cc51ca815a50d338a73adb408ab258.tar.bz2
android_system_bt-4dcde90649cc51ca815a50d338a73adb408ab258.zip
resolved conflicts for merge of b44cc59d to master
Change-Id: I74c86dd5a13d4cc0b225a4b1d516904c4382db74
Diffstat (limited to 'stack/gatt/att_protocol.c')
-rw-r--r--stack/gatt/att_protocol.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/stack/gatt/att_protocol.c b/stack/gatt/att_protocol.c
index 27c24a08e..00512e2c9 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,13 +364,13 @@ tGATT_STATUS 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));
return GATT_INTERNAL_ERROR;
}
else if (l2cap_ret == L2CAP_DW_CONGESTED)
{
- GATT_TRACE_DEBUG0("ATT congested, message accepted");
+ GATT_TRACE_DEBUG("ATT congested, message accepted");
return GATT_CONGESTED;
}
return GATT_SUCCESS;
@@ -392,7 +392,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 */
@@ -427,12 +427,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;
}
@@ -626,7 +626,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;