summaryrefslogtreecommitdiffstats
path: root/audio/a2dp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-31 14:21:02 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-31 14:21:02 +0000
commitedce261bbbcaa3bca4d68289e4f244c1f709c0c9 (patch)
tree37ecf1dfbd1b9c24ab8a13f0a01313732a15cdd7 /audio/a2dp.c
parentd166a230af9dca8be3c27d75e8f1eaf66c49c9d4 (diff)
Fix stream starting if suspend request is pending
Diffstat (limited to 'audio/a2dp.c')
-rw-r--r--audio/a2dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/a2dp.c b/audio/a2dp.c
index fa8d1175..f243a8ae 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -1126,8 +1126,8 @@ unsigned int a2dp_source_request_stream(struct avdtp *session,
g_source_remove(sep->suspend_timer);
sep->suspend_timer = 0;
}
+ g_idle_add((GSourceFunc) finalize_stream_setup, setup);
}
- g_idle_add((GSourceFunc) finalize_stream_setup, setup);
break;
default:
error("SEP in bad state for requesting a new stream");