diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-09-28 13:46:55 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-09-28 13:46:55 +0000 |
commit | 847dad179fe16ec395373e4b55d46dcd400c623a (patch) | |
tree | 139f0bdc92e1d7ea3be3f787ace5a7064f8e29b3 /audio/sink.c | |
parent | 11275793e04e21cb7e26d6a7d289f98005a3c478 (diff) |
Expose stream setup errors higher up in the call stack
Diffstat (limited to 'audio/sink.c')
-rw-r--r-- | audio/sink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/sink.c b/audio/sink.c index ea95bcf7..e249af18 100644 --- a/audio/sink.c +++ b/audio/sink.c @@ -135,7 +135,7 @@ static void stream_state_changed(struct avdtp_stream *stream, static void stream_setup_complete(struct avdtp *session, struct a2dp_sep *sep, struct avdtp_stream *stream, - void *user_data) + void *user_data, struct avdtp_error *err) { struct sink *sink = user_data; struct pending_request *pending; @@ -153,7 +153,7 @@ static void stream_setup_complete(struct avdtp *session, struct a2dp_sep *sep, err_failed(pending->conn, pending->msg, "Stream setup failed"); avdtp_unref(sink->session); sink->session = NULL; - debug("Stream setup failed"); + debug("Stream setup failed : %s", avdtp_strerror(err)); } pending_request_free(pending); |