diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sink.c | 4 |
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; |