From 8ca94678ecb480dbcb3b2960c4bed0d001874bdf Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 6 Oct 2008 12:50:03 +0200 Subject: Don't call pending_connect_finalize in headset_cancel_stream The pending connect is still needed when rfcomm_connect_cb gets informed of the failed connect attempt. --- audio/headset.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'audio') diff --git a/audio/headset.c b/audio/headset.c index 6de3934b..9887375c 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -2005,8 +2005,6 @@ gboolean headset_cancel_stream(struct audio_device *dev, unsigned int id) if (p->callbacks || p->msg) return TRUE; - pending_connect_finalize(dev); - if (hs->auto_dc) { if (hs->rfcomm) hs->dc_timer = g_timeout_add(DC_TIMEOUT, -- cgit