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)
committerRyan Longair <rlongair@google.com>
Thu, 18 Jan 2018 00:51:50 +0000 (16:51 -0800)
commit36cefa88d34b45934b87f878b6b0ae9e7e30cb20
tree8b7045a06d8dc3b3667b13d27f1e41b26445df22
parent0b4fa105038260221714575f032126b59153d331
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)
(cherry picked from commit 486d27733fd3db14575370985ae50a02cbb193d4)
stack/btu/btu_init.c
stack/sdp/sdp_main.c
stack/sdp/sdp_utils.c
stack/sdp/sdpint.h