OSDN Git Service

SDP: Include the offset in sdp_disc_server_rsp
authorMyles Watson <mylesgw@google.com>
Fri, 12 Jan 2018 04:43:47 +0000 (20:43 -0800)
committerRyan Longair <rlongair@google.com>
Thu, 18 Jan 2018 18:17:56 +0000 (10:17 -0800)
commit53b409329c351b3a5de3db05c0e20de72532d495
treed8788f52ae52ff50325e00e3f4869c8fa88d090b
parent71fa33a2dd82217faf00a4af09551977284d0fee
SDP: Include the offset in sdp_disc_server_rsp

The commit
  SDP: Pass the bounds to process_service_*_rsp
with the change ID
  Icf53d4d05f99b5e0a2b3f4d3735b6fbfd62adaa3
omitted the offset when calculating the end of the message.

Bug: 68161546
Test: Connect a headset
Change-Id: I6266b51e3871ed6ce9932161e4ab66de90af4ce6
(cherry picked from commit 1ff9151b7de9cff6aab3919d151542e7244cc0e5)
Merged-In: I6266b51e3871ed6ce9932161e4ab66de90af4ce6
(cherry picked from commit c379fc0f7a158e7028771bcf9dea19987f771a8e)
stack/sdp/sdp_discovery.cc