• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

system/bt


Commit MetaInfo

Révisiondee808040cd8d3005a9e7d26de03bcc45f045361 (tree)
l'heure2019-12-03 10:20:25
AuteurAutomerger Merge Worker <android-build-automerger-merge-worker@syst...>
CommiterAutomerger Merge Worker

Message de Log

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

Change Summary

Modification

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