• 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ón294e64950ccb82e7cbfec60ef0e3319f8c4a5dcd (tree)
Tiempo2019-12-03 09:58:27
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

Change-Id: I9b78c5b36d9d1382f307fabacc20bb74d2e91322

Cambiar Resumen

Diferencia incremental

--- a/hci/src/packet_fragmenter.cc
+++ b/hci/src/packet_fragmenter.cc
@@ -216,7 +216,8 @@ static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR* packet) {
216216 "%s got packet which would exceed expected length of %d. "
217217 "Truncating.",
218218 __func__, partial_packet->len);
219- packet->len = partial_packet->len - partial_packet->offset;
219+ packet->len =
220+ (partial_packet->len - partial_packet->offset) + packet->offset;
220221 projected_offset = partial_packet->len;
221222 }
222223