hfp: fix emit HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED

This commit is contained in:
Matthias Ringwald 2023-05-31 12:49:14 +02:00
parent 9a0af64aaa
commit 1a9e9d0b0c

View File

@ -502,6 +502,7 @@ void hfp_emit_sco_connection_established(hfp_connection_t *hfp_connection, uint8
pos += 6;
event[pos++] = negotiated_codec;
little_endian_store_16(event, pos, hfp_connection->packet_types);
pos += 2;
little_endian_store_16(event, pos, rx_packet_length);
pos += 2;
little_endian_store_16(event, pos, tx_packet_length);