From 0a18a8e91d78104c771adf9e602d40af0de606ca Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 22 Nov 2010 19:52:07 +0000 Subject: [PATCH] assume remote side uses default mtu instead of minimum mtu for new l2cap connections --- src/l2cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/l2cap.c b/src/l2cap.c index aa0a55d66..bdf7432bb 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -459,7 +459,7 @@ static void l2cap_handle_connection_request(hci_con_handle_t handle, uint8_t sig channel->local_cid = l2cap_next_local_cid(); channel->remote_cid = source_cid; channel->local_mtu = service->mtu; - channel->remote_mtu = L2CAP_MINIMAL_MTU; + channel->remote_mtu = L2CAP_DEFAULT_MTU; // validate mtu if (hci_max_acl_data_packet_length() < channel->local_mtu) {