From 738b923129f5b3e73151c26f76ca207b7508c6bf Mon Sep 17 00:00:00 2001 From: dh79pyun Date: Mon, 3 Jan 2022 16:04:56 +0900 Subject: [PATCH] Revert "Add avdtp ref when disconnect timer is active" This reverts commit f3f1e150ceb4ada38f3d921ed7d4f1a0e5771abc. Change-Id: Ie99945ff24d8dbe254fcf51f33a4499b4e74f0c8 Signed-off-by: dh79pyun --- profiles/audio/avdtp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index 26401f8..5ae4501 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -1568,9 +1568,6 @@ static void set_disconnect_timer_for_sink(struct avdtp *session, gboolean discon if (session->dc_timer) remove_disconnect_timer(session); - /* Take a ref while disconnect timer is active */ - avdtp_ref(session); - device_get_name(session->device, name, sizeof(name)); DBG("name : [%s]", name); if (g_str_equal(name, "VW BT") || g_str_equal(name, "VW MI") || -- 2.7.4