• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

system/bt


Commit MetaInfo

Revisionf27b26cab27f33c05e5f02335bf210cd300a5fc1 (tree)
Zeit2020-02-14 12:38:38
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Avoid more annoying crashing

Ändern Zusammenfassung

Diff

--- a/device/src/controller.cc
+++ b/device/src/controller.cc
@@ -265,7 +265,7 @@ static future_t* start_up(void) {
265265 }
266266
267267 if (!HCI_READ_ENCR_KEY_SIZE_SUPPORTED(supported_commands)) {
268- LOG(FATAL) << " Controller must support Read Encryption Key Size command";
268+ LOG(WARNING) << " Controller must support Read Encryption Key Size command";
269269 }
270270
271271 readable = true;
--- a/hci/src/packet_fragmenter.cc
+++ b/hci/src/packet_fragmenter.cc
@@ -130,8 +130,6 @@ static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR* packet) {
130130 STREAM_TO_UINT16(acl_length, stream);
131131 STREAM_TO_UINT16(l2cap_length, stream);
132132
133- CHECK(acl_length == packet->len - HCI_ACL_PREAMBLE_SIZE);
134-
135133 uint8_t boundary_flag = GET_BOUNDARY_FLAG(handle);
136134 handle = handle & HANDLE_MASK;
137135