summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-12 16:57:34 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-12 16:57:34 +0000
commitffdc158c69f7aa3a0e8ce4a67c1a42da33b19c2b (patch)
tree42d96c3dac13ea5368cd2a22ae8188176b6f41b2 /audio
parent6b51b1ff241a51297f9de35d594b4fcd6c5df1aa (diff)
Fix set_configuration command error checking
Diffstat (limited to 'audio')
-rw-r--r--audio/avdtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index ba6b58ad..ec20958c 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -691,7 +691,7 @@ static gboolean avdtp_setconf_cmd(struct avdtp *session,
}
lsep = find_local_sep_by_seid(req->acp_seid);
- if (!lsep || !lsep->stream) {
+ if (!lsep || lsep->stream) {
init_response(&rej.header, &req->header, FALSE);
rej.error = AVDTP_BAD_ACP_SEID;
rej.category = 0x00; /* 0x00 means "not applicable" */