ignore invalid packet type identifier

This commit is contained in:
matthias.ringwald 2010-01-09 00:40:01 +00:00
parent 8c9b08f347
commit 76ca99b0d3

View File

@ -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: