summaryrefslogtreecommitdiffstats
path: root/audio/sink.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-30 09:13:51 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-30 09:13:51 +0000
commit67d1e1774b3ff2d7a09fcf49484515bd85c02d14 (patch)
tree17d427ab6b451ec834c9983d018016b2ca57cbb1 /audio/sink.c
parent921c1a63009394047b963930cfd49fea60017599 (diff)
Fix stream setup error handling
Diffstat (limited to 'audio/sink.c')
-rw-r--r--audio/sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/sink.c b/audio/sink.c
index 599fdaaf..67c53ccd 100644
--- a/audio/sink.c
+++ b/audio/sink.c
@@ -144,6 +144,7 @@ static void stream_setup_complete(struct avdtp *session, struct device *dev,
pending = sink->connect;
sink->connect = NULL;
+ sink->cb_id = 0;
if (stream) {
DBusMessage *reply;