From 37fc5e5af3c094309992b2d731e45c4c0e0584cb Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Thu, 12 Nov 2020 08:40:10 -0800 Subject: [PATCH] Re-log stack/gatt/gatt_cl::gatt_process_prep_write_rsp Toward loggable code Bug: 163134718 Tag: #refactor Test: CtsVerifier Change-Id: Ice004fb4babd77075dd1dba26198186df75c5880 --- stack/gatt/gatt_cl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack/gatt/gatt_cl.cc b/stack/gatt/gatt_cl.cc index 519b8b88a..f1c56ccce 100644 --- a/stack/gatt/gatt_cl.cc +++ b/stack/gatt/gatt_cl.cc @@ -581,8 +581,8 @@ void gatt_process_prep_write_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, .conn_id = p_clcb->conn_id, .auth_req = GATT_AUTH_REQ_NONE, }; - LOG(ERROR) << StringPrintf("value resp op_code = %s len = %d", - gatt_dbg_op_name(op_code), len); + VLOG(1) << StringPrintf("value resp op_code = %s len = %d", + gatt_dbg_op_name(op_code), len); if (len < GATT_PREP_WRITE_RSP_MIN_LEN) { LOG(ERROR) << "illegal prepare write response length, discard"; -- 2.11.0