diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-13 20:07:18 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-13 20:07:18 +0000 | 
| commit | a87207e7f3b81bf3bbea9cd4b92de9b274cca3ac (patch) | |
| tree | da0b8b5e826a914b95efc9ca0b6f66ec84c509fd | |
| parent | f1a26f036b1fd1aa8f31dfbe2d857b0bb31abaa1 (diff) | |
Add extra error log to sink_get_config
| -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;  | 
