mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
l2cap: assume remote mtu = L2CAP_DEFAULT_MTU (instead of L2CAP_MINIMAL_MTU) if peer doesn't send MTU config option
This commit is contained in:
parent
baba939ba9
commit
b37a9357a4
@ -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;
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user