OSDN Git Service

Allocate/free the SDP connection timers only during stack startup/shutdown
authorPavlin Radoslavov <pavlin@google.com>
Fri, 12 Jan 2018 01:28:16 +0000 (17:28 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Fri, 12 Jan 2018 18:31:24 +0000 (18:31 +0000)
commit486d27733fd3db14575370985ae50a02cbb193d4
treea6544bd45831ee3fbc38380812e55296ac9067e1
parentb9ebb4ab26e27d0701d43faee775c1b1975d0191
Allocate/free the SDP connection timers only during stack startup/shutdown

This avoids freeing the sdp_conn_timer within the alarm callback itself.

Bug: 67110137
Test: Manual
Change-Id: I775b4b532cd42cf207258c53c6052a167a124627
Merged-In: I775b4b532cd42cf207258c53c6052a167a124627
(cherry picked from commit ef6a4a0c9d9220a7d909863349d7a0c0b967d54c)
stack/btu/btu_init.c
stack/sdp/sdp_main.c
stack/sdp/sdp_utils.c
stack/sdp/sdpint.h