mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 03:40:16 +00:00
att_dispatch: fix ATT_EVENT_MTU_EXCHANGE_COMPLETE emit
This commit is contained in:
parent
ef6e8e6376
commit
f38f43d729
@ -173,7 +173,7 @@ static void emit_mtu_exchange_complete(btstack_packet_handler_t packet_handler,
|
||||
packet[1] = sizeof(packet) - 2u;
|
||||
little_endian_store_16(packet, 2, con_handle);
|
||||
little_endian_store_16(packet, 4, new_mtu);
|
||||
packet_handler(HCI_EVENT_PACKET, con_handle, packet, 1);
|
||||
packet_handler(HCI_EVENT_PACKET, con_handle, packet, 6);
|
||||
}
|
||||
|
||||
void att_dispatch_server_mtu_exchanged(hci_con_handle_t con_handle, uint16_t new_mtu){
|
||||
|
Loading…
x
Reference in New Issue
Block a user