• 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

Revisão2a8a9b22f2018a7da89e5f9bc5bacf2e5e8541fa (tree)
Hora2019-12-03 09:33:29
AutorTreeHugger Robot <treehugger-gerrit@goog...>
CommiterAndroid (Google) Code Review

Mensagem de Log

Merge "GAP: Correct the continuous pkt length in l2cap" into oc-dev

Mudança Sumário

Diff

--- a/hci/src/packet_fragmenter.cc
+++ b/hci/src/packet_fragmenter.cc
@@ -214,7 +214,8 @@ static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR* packet) {
214214 "%s got packet which would exceed expected length of %d. "
215215 "Truncating.",
216216 __func__, partial_packet->len);
217- packet->len = partial_packet->len - partial_packet->offset;
217+ packet->len =
218+ (partial_packet->len - partial_packet->offset) + packet->offset;
218219 projected_offset = partial_packet->len;
219220 }
220221