diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-06 12:50:03 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-06 12:50:03 +0200 |
commit | 8ca94678ecb480dbcb3b2960c4bed0d001874bdf (patch) | |
tree | ba4f5fa9d466a6e54e491264afde9120cdba4706 /audio | |
parent | f427c9d8cf82678ce22344208404ab5d611baaf0 (diff) |
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.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/headset.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, |