From ffdc158c69f7aa3a0e8ce4a67c1a42da33b19c2b Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 12 Aug 2007 16:57:34 +0000 Subject: Fix set_configuration command error checking --- audio/avdtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') 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" */ -- cgit