mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 15:44:32 +00:00
l2cap: fix regression sending config options - introduced in ERTM feature merge
This commit is contained in:
parent
087783a8f0
commit
725276951f
@ -1130,7 +1130,7 @@ uint16_t l2cap_max_le_mtu(void){
|
|||||||
static uint16_t l2cap_setup_options_mtu(l2cap_channel_t * channel, uint8_t * config_options){
|
static uint16_t l2cap_setup_options_mtu(l2cap_channel_t * channel, uint8_t * config_options){
|
||||||
config_options[0] = 1; // MTU
|
config_options[0] = 1; // MTU
|
||||||
config_options[1] = 2; // len param
|
config_options[1] = 2; // len param
|
||||||
little_endian_store_16( (uint8_t*)&config_options, 2, channel->local_mtu);
|
little_endian_store_16(config_options, 2, channel->local_mtu);
|
||||||
return 4;
|
return 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user