mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
fix remote_mtu and flush_timeout in L2CAP_EVENT_CHANNEL_OPENED
This commit is contained in:
parent
149f622682
commit
54ed2ecaf7
@ -142,7 +142,7 @@ void l2cap_emit_channel_opened(l2cap_channel_t *channel, uint8_t status) {
|
||||
bt_store_16(event, 15, channel->remote_cid);
|
||||
bt_store_16(event, 17, channel->local_mtu);
|
||||
bt_store_16(event, 19, channel->remote_mtu);
|
||||
bt_store_16(event, 19, channel->flush_timeout);
|
||||
bt_store_16(event, 21, channel->flush_timeout);
|
||||
hci_dump_packet( HCI_EVENT_PACKET, 0, event, sizeof(event));
|
||||
l2cap_dispatch(channel, HCI_EVENT_PACKET, event, sizeof(event));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user