Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-bt: 提交

system/bt


Commit MetaInfo

修订版f27b26cab27f33c05e5f02335bf210cd300a5fc1 (tree)
时间2020-02-14 12:38:38
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Avoid more annoying crashing

更改概述

差异

--- 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
Show on old repository browser