mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-17 07:19:42 +00:00
ignore invalid packet type identifier
This commit is contained in:
parent
8c9b08f347
commit
76ca99b0d3
@ -238,6 +238,9 @@ static int h4_process(struct data_source *ds) {
|
||||
bytes_to_read = HCI_ACL_DATA_PKT_HDR;
|
||||
h4_state = H4_W4_ACL_HEADER;
|
||||
} else {
|
||||
fprintf(stderr, "h4_process: invalid packet type 0x%02x\n");
|
||||
read_pos = 0;
|
||||
bytes_to_read = 1;
|
||||
}
|
||||
break;
|
||||
case H4_W4_EVENT_HEADER:
|
||||
|
Loading…
Reference in New Issue
Block a user