Return-Path: From: Dmitriy Paliy To: linux-bluetooth@vger.kernel.org Cc: Dmitriy Paliy Subject: [PATCH BlueZ 4/4] Fix remove feedback DTMF tones timer on call release Date: Mon, 19 Sep 2011 13:54:39 +0300 Message-Id: <1316429679-18651-4-git-send-email-dmitriy.paliy@nokia.com> In-Reply-To: <1316429679-18651-1-git-send-email-dmitriy.paliy@nokia.com> References: <1316429679-18651-1-git-send-email-dmitriy.paliy@nokia.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: User feedback DTMF tones queue is freed and timer removed when call is released. --- audio/telephony-maemo6.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c index 49d35fe..0320002 100644 --- a/audio/telephony-maemo6.c +++ b/audio/telephony-maemo6.c @@ -1298,6 +1298,9 @@ static void call_set_status(struct csd_call *call, dbus_uint32_t status) if (g_slist_length(active_calls) == 0) telephony_update_indicator(maemo_indicators, "call", EV_CALL_INACTIVE); + + if (create_tones_timer) + g_source_remove(create_tones_timer); break; case CSD_CALL_STATUS_HOLD_INITIATED: break; -- 1.7.4.1