diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-12 16:57:34 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-12 16:57:34 +0000 |
commit | ffdc158c69f7aa3a0e8ce4a67c1a42da33b19c2b (patch) | |
tree | 42d96c3dac13ea5368cd2a22ae8188176b6f41b2 /audio/avdtp.c | |
parent | 6b51b1ff241a51297f9de35d594b4fcd6c5df1aa (diff) |
Fix set_configuration command error checking
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r-- | audio/avdtp.c | 2 |
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" */ |