summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/stack/arbiter/acl_arbiter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/stack/arbiter/acl_arbiter.cc b/system/stack/arbiter/acl_arbiter.cc
index a9c09deff4..5f37965e98 100644
--- a/system/stack/arbiter/acl_arbiter.cc
+++ b/system/stack/arbiter/acl_arbiter.cc
@@ -115,7 +115,7 @@ void AclArbiter::SendPacketToPeer(uint8_t tcb_idx, ::rust::Vec<uint8_t> buffer)
if (stack::l2cap::get_interface().L2CA_SendFixedChnlData(L2CAP_ATT_CID, p_tcb->peer_bda,
p_buf) != tL2CAP_DW_RESULT::SUCCESS) {
log::warn("Unable to send L2CAP data peer:{} fixed_cid:{} len:{}", p_tcb->peer_bda,
- L2CAP_ATT_CID, p_buf->len);
+ L2CAP_ATT_CID, buffer.size());
}
} else {
log::error("Dropping packet since connection no longer exists");