Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp384181rdb; Thu, 1 Feb 2024 11:10:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+XmU+thJzdS5QkewmOf4hxXn7GWeFyP7FNDIV+Wl6aIf/hnBlN5Ov2NX+vsotUrc5+Dpi X-Received: by 2002:a05:6a20:b313:b0:19a:7e25:d7d3 with SMTP id ef19-20020a056a20b31300b0019a7e25d7d3mr5437769pzb.18.1706814640307; Thu, 01 Feb 2024 11:10:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706814640; cv=pass; d=google.com; s=arc-20160816; b=LcyoNsc6QjNGzWEq/acmXwPk2gqp1QQwXC80r0dNpJ5vgb7YOOFHF9x5QlEcJexpL9 v7ix/ry2QY7CeaHQAbOk6p7WUnf88HLE0N2TTf0/oXwvUQbyIQi2OFCYkLnoItjCBVOO /zkNR9hF3OBSaVwOmvJ/zZ6Eak+KLOy3Lr4/kFKvKkfmQiCy8nludXANi+0w6La+Uac4 foYFWEYELOurF410KmzacBZvH1Zx/aY4MFydN0+plxrKvf/PLwHBP9Ag+nvX+UQ1ZUiM ZpOetC1nk7PZdtyCFk496ZMrIXwyQciuZhGEhhdsir8KTINvRYg58hGYvqjHSI2QAqws 8Owg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=WYVVWhi5KB9maEQKsM0GSDViu6LAYuo+A4YUpEmhnjc=; fh=JbN7wHVhmjbRG0i8Y72w+zuhmXc14FYcREslKaXE7Bw=; b=H3fwkO+tI8N0mgvxzcvUPebvJxbPiESP6fCY/joWsNwy0WyXNYuQ2cfhDlko3PqBqR k0wPLs8uchtZYvJ2RwfDbFrQraMIi2twTigYOEnCczXNM4pNYVvLRcziPkBqwXx/w95p rPScqFrzAg9QSJKudd+P0lk0JsuDsx+EvkpkJKZCde2kTVLcbOvdkFi42q4+OF98OJJl WIxqQsUViYTvSP6x288ROL8OJmUZjeR5V4h/Lcg8mu37LAMzeKOea9k91JzDdvZITUOb m1+NKgdzACs6jJGf9RGWBnDEoU8MAQ9v8O8jNjWWMSoNX8BpYHDhO36X6FkfDzomG5Zj A0bQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nlsUYIaJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1541-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCUmCGmNS8jrFHMli2hhPL2o2S9YWMFYEOGh3cEfGqQmdgdokgWevrL506qCTbssSuOr1pNeNdDpRtcRg3NfF9H8vFhPACR5hfB7ttsoQg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x28-20020a056a00189c00b006dd9f0a3874si132739pfh.225.2024.02.01.11.10.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 11:10:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1541-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nlsUYIaJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1541-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D547E28F266 for ; Thu, 1 Feb 2024 19:10:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8F0A85299; Thu, 1 Feb 2024 19:10:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nlsUYIaJ" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB1C385283 for ; Thu, 1 Feb 2024 19:10:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706814623; cv=none; b=gzHiOecftVCJILAkt8TeiBQUyBAk53biH9uKRNMHVn8jkJO1olyiYpyoJwRbMq4AFGSR475wUYWFtSXPSiwesn+3XBQaHCLE9fepWWErpeUR0ORHVJNL7pRPJwN/K6VMjAjJYmPJselufCScPMwi1LpEK7TCmJiNSPk/PVaub1c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706814623; c=relaxed/simple; bh=K2Utrlr0vp3zrSHviTPgil48gK7pFEhzpZMuTmocHs0=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pMeqx4AxUq8RKp2rCSpWMAFC3hPR3fmFfqSf2frywELfG8vWcLXO+qAOSfULSggYnKh7XbjvelBcw8lv/VWOJbKpdBFRRFNx+7dim3CTo85JZpf8nMbjRs37+u6hsVlQKNo52HpSVlH1X2c2ZbW7rJb+W4c3GYPXzFEXslHC0jg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nlsUYIaJ; arc=none smtp.client-ip=209.85.210.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6e1352dd653so796006a34.2 for ; Thu, 01 Feb 2024 11:10:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706814620; x=1707419420; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WYVVWhi5KB9maEQKsM0GSDViu6LAYuo+A4YUpEmhnjc=; b=nlsUYIaJvtYc1IUlrXnALARDCR4/m0C/Dfu8o3YVSNtJj+ho4tAalexzPm6zeQZzRn 6aaBFS5f4F2dm1nlYU4Mq4+fz9vu+cjmDrfaERgZEAlXn/k5LUxiWe7BnkvnKZLeGZhA kNe0lNcfzfV9xUws6v++A13TJp37s2PrvPv1tqs2mAs0/2iHFQIuD08lv+62/SuoEPBG BxCsXYYawmsQbJEFlk0GRsVWLrVFGIxYiSgBlL2czm7m+7JJw9ac6whcc7KAlFvw7Buy pC5Q+QeraRnTkVo4CC9Jfwmn3VLwZwsPIG7WKXpltQq6XNtcKW1leSARXSs8/UwFvHY7 vEYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706814620; x=1707419420; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WYVVWhi5KB9maEQKsM0GSDViu6LAYuo+A4YUpEmhnjc=; b=Jo1mkEFdlbgSpZW8vys0WGqGCcXrNORB5F/Y7Os8SAqZVEj/EGE37v2WxR2l+eCydD d0UMm+0FzXTqg5U6yujaY85w7oA2Bp5Q0eBqHnNdAAn1B7Txm9IyQeFREGmFjCoWFloO vFHXdVaSGiN4dyc2exx9GR3QxGgnwE72h1E7vA9dkdjW2urbua2TLs9uNQ/4a7XWt5yA 8aHu9DJSu5Y2hWS7VR269pFvzZmZUJghRYWFLcw3SLU4eG6mOdcTeLNUMui151BKYNvJ pzJ09oH8FF78HhL7lHAttSxR3+8qDm05IhscPfrltQcW96KCZq9jOLSOBRI98ZzK/3Ud H2Sw== X-Gm-Message-State: AOJu0YzvH7K6PnPoo/OUNff5rHExJu/tgeOHyWkCO65gdGfIVezMu9Bl AUCcHLUcliAT0/yp7tLNlq/eAJ3LkXlAm9DoJH2ftnq9KOLwt2EQ1yh7ArhJ X-Received: by 2002:a9d:6387:0:b0:6e0:af93:f88f with SMTP id w7-20020a9d6387000000b006e0af93f88fmr6165829otk.0.1706814620089; Thu, 01 Feb 2024 11:10:20 -0800 (PST) Received: from lvondent-mobl4.. (071-047-239-151.res.spectrum.com. [71.47.239.151]) by smtp.gmail.com with ESMTPSA id db16-20020a056130239000b007d2e2f14bd4sm35912uab.29.2024.02.01.11.10.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 11:10:18 -0800 (PST) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v2 2/8] bap: Fix passing ep instead of setup to config_cb Date: Thu, 1 Feb 2024 14:10:10 -0500 Message-ID: <20240201191016.1122194-2-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240201191016.1122194-1-luiz.dentz@gmail.com> References: <20240201191016.1122194-1-luiz.dentz@gmail.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Luiz Augusto von Dentz config_cb expects setup pointer not ep. --- profiles/audio/bap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 7faa6be7f90b..7e87d12d02f1 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -948,7 +948,7 @@ static DBusMessage *set_configuration(DBusConnection *conn, DBusMessage *msg, &setup->qos, setup->caps); setup->id = bt_bap_stream_config(setup->stream, &setup->qos, - setup->caps, config_cb, ep); + setup->caps, config_cb, setup); if (!setup->id) { DBG("Unable to config stream"); setup_free(setup); -- 2.43.0