OSDN Git Service

Avoid more annoying crashing
[android-x86/system-bt.git] / hci / src / packet_fragmenter.cc
index 217b4fd..82e48de 100644 (file)
@@ -130,8 +130,6 @@ static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR* packet) {
     STREAM_TO_UINT16(acl_length, stream);
     STREAM_TO_UINT16(l2cap_length, stream);
 
-    CHECK(acl_length == packet->len - HCI_ACL_PREAMBLE_SIZE);
-
     uint8_t boundary_flag = GET_BOUNDARY_FLAG(handle);
     handle = handle & HANDLE_MASK;