summaryrefslogtreecommitdiffstats
path: root/audio/sink.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-13 20:07:18 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-13 20:07:18 +0000
commita87207e7f3b81bf3bbea9cd4b92de9b274cca3ac (patch)
treeda0b8b5e826a914b95efc9ca0b6f66ec84c509fd /audio/sink.c
parentf1a26f036b1fd1aa8f31dfbe2d857b0bb31abaa1 (diff)
Add extra error log to sink_get_config
Diffstat (limited to 'audio/sink.c')
-rw-r--r--audio/sink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/sink.c b/audio/sink.c
index 2219a9e4..237fcaee 100644
--- a/audio/sink.c
+++ b/audio/sink.c
@@ -365,8 +365,10 @@ int sink_get_config(struct device *dev, int sock, struct ipc_packet *req,
int err;
struct pending_connect *c = NULL;
- if (sink->c)
+ if (sink->c) {
+ error("sink_get_config: another request already in progress");
return -EBUSY;
+ }
if (sink->state == AVDTP_STATE_STREAMING)
goto proceed;