• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

system/bt


Commit MetaInfo

Revisión28523075a6fa24ddea8c5f4a35fa13bbc684a23f (tree)
Tiempo2019-12-03 10:06:32
AutorAutomerger Merge Worker <android-build-automerger-merge-worker@syst...>
CommiterAutomerger Merge Worker

Log Message

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

Change-Id: I69396f7e01601ac6298b7a626268e96c1538dea0

Cambiar Resumen

Diferencia incremental

--- 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