Android-x86
Fork


コミットメタ情報

リビジョンf27b26cab27f33c05e5f02335bf210cd300a5fc1 (tree)
日時2020-02-14 12:38:38
作者Chih-Wei Huang <cwhuang@linu...>
コミッターChih-Wei Huang

ログメッセージ

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
旧リポジトリブラウザで表示