• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


Commit MetaInfo

Revisión218668ac743b39161bbff7912b6621db4a82fad5 (tree)
Tiempo2020-02-14 14:15:13
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Avoid more annoying crashing

Cambiar Resumen

Diferencia incremental

--- a/device/src/controller.cc
+++ b/device/src/controller.cc
@@ -254,7 +254,7 @@ static future_t* start_up(void) {
254254 }
255255
256256 if (!HCI_READ_ENCR_KEY_SIZE_SUPPORTED(supported_commands)) {
257- LOG(FATAL) << " Controller must support Read Encryption Key Size command";
257+ LOG(WARNING) << " Controller must support Read Encryption Key Size command";
258258 }
259259
260260 readable = true;
--- a/hci/src/packet_fragmenter.cc
+++ b/hci/src/packet_fragmenter.cc
@@ -128,8 +128,6 @@ static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR* packet) {
128128 STREAM_TO_UINT16(acl_length, stream);
129129 STREAM_TO_UINT16(l2cap_length, stream);
130130
131- CHECK(acl_length == packet->len - HCI_ACL_PREAMBLE_SIZE);
132-
133131 uint8_t boundary_flag = GET_BOUNDARY_FLAG(handle);
134132 handle = handle & HANDLE_MASK;
135133