From b37a9357a40fdcbaa8dc7189d23e4fd989d62bcf Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 24 Nov 2017 17:02:34 +0100 Subject: [PATCH] l2cap: assume remote mtu = L2CAP_DEFAULT_MTU (instead of L2CAP_MINIMAL_MTU) if peer doesn't send MTU config option --- src/l2cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/l2cap.c b/src/l2cap.c index df8590887..d78619765 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -1733,7 +1733,7 @@ static l2cap_channel_t * l2cap_create_channel_entry(btstack_packet_handler_t pac channel->address_type = address_type; channel->psm = psm; channel->local_mtu = local_mtu; - channel->remote_mtu = L2CAP_MINIMAL_MTU; + channel->remote_mtu = L2CAP_DEFAULT_MTU; channel->required_security_level = security_level; //