• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

system/bt


コミットメタ情報

リビジョンdee808040cd8d3005a9e7d26de03bcc45f045361 (tree)
日時2019-12-03 10:20:25
作者Automerger Merge Worker <android-build-automerger-merge-worker@syst...>
コミッターAutomerger Merge Worker

ログメッセージ

Merge "GAP: Correct the continuous pkt length in l2cap" into oc-dev am: 2a8a9b22f2 am: 5d8fde3e01 am: 5dbe08152a am: 294e64950c am: 28523075a6

Change-Id: If031a82d0c25708dfd2c99ba9db88bd5f014de0e

変更サマリ

差分

--- a/hci/src/packet_fragmenter.cc
+++ b/hci/src/packet_fragmenter.cc
@@ -221,7 +221,8 @@ static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR* packet) {
221221 "%s got packet which would exceed expected length of %d. "
222222 "Truncating.",
223223 __func__, partial_packet->len);
224- packet->len = partial_packet->len - partial_packet->offset;
224+ packet->len =
225+ (partial_packet->len - partial_packet->offset) + packet->offset;
225226 projected_offset = partial_packet->len;
226227 }
227228