hci_transport_h4_embedded: fix offset for SCO length byte

This commit is contained in:
Matthias Ringwald 2016-04-27 10:50:03 +02:00
parent 664e8b55a1
commit af2052448e

View File

@ -216,7 +216,7 @@ static void h4_block_received(void){
break;
case H4_W4_SCO_HEADER:
bytes_to_read = hci_packet[2];
bytes_to_read = hci_packet[3];
if (bytes_to_read == 0) {
h4_state = H4_PACKET_RECEIVED;
break;