att_dispatch: fix ATT_EVENT_MTU_EXCHANGE_COMPLETE emit

This commit is contained in:
Matthias Ringwald 2020-12-17 17:44:16 +01:00
parent ef6e8e6376
commit f38f43d729

View File

@ -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){