Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-bt: Commit

system/bt


Commit MetaInfo

Revision218668ac743b39161bbff7912b6621db4a82fad5 (tree)
Time2020-02-14 14:15:13
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Avoid more annoying crashing

Change Summary

Incremental Difference

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