Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1730276rdb; Thu, 25 Jan 2024 04:39:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEu1QGcBw/5bZy811naTdOTUwjeo1NtUfcssZaRI3OuasUCrmMFtJ6zlRrBXfHBLmWNaNXY X-Received: by 2002:a17:907:d402:b0:a31:9089:27fb with SMTP id vi2-20020a170907d40200b00a31908927fbmr311980ejc.34.1706186392719; Thu, 25 Jan 2024 04:39:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706186392; cv=pass; d=google.com; s=arc-20160816; b=epWvY2j1eDM+srcQEzPczTckC3V8up2RAbLlGhmFwYQa0SF6jkLP34Lwlj4OwXcYOa uUL0UIJcKg9sA4rcJuN5YIg+z5TzGAvlJlvlm7yg9NZ7fziCBvu05/eDefWigX7su5dX hb4fDpRTJU2qXk107CJPQEnYQdFoECuRkoyQ6D68TC0LOyD6iIdMHqh1zXG4LgunCQpi LGc8eTvF/P9VcwlIsVr7ZUnx0sUOioiYOPSen5Yvu+ASDipHluIz2h2bJhnX65nvm6Lm +tcQ4vP67siP94OM+Sf4+CtE39EzlPl09FHACiyufMuwhUi21hb9zrs+uioLIqucB/WI 1pWA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=QrccIuJWiyRDHtJqNEvND6PB2iuykS+8aIuwSHJPXcA=; fh=U3ev7U7uX1ilviB+nfdu7oOFhneDnAUw+Nb8W7HsKBg=; b=QKFFvDw9fN08s24ra2J5JT1pMlOcr8b4PEdzRPUle0cGNVgdsqTJyRQ4pOvspwVdNu rYNQz0zbEduXFdyow+Vda3pMajK/ItR0FDbeNFljXPYHEzrSNIjwzJXwaYAnDmQsC7Db iJsVqp6/VQ+l67FgA1k84lI5wxw7nIkG5vI1qmw0H41D6fnF3HHHzhT2rxqlp80AIKpF IlgiuhbLKgk3ySAAGK6uS1R22uuRxgjeyI7Vq6/lV8oIt1XIXJf6B3E9p8mY8lZJCGTS htQf+uH6DlLS+VKlaQgBw+9jvAsM+WfalIafI9UsI+9S4PNu8WfDr0R2ufk9Ra/WDOeB p9Lg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RLQ3Q/aq"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s6-20020a170906a18600b00a31b755546bsi234401ejy.449.2024.01.25.04.39.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 04:39:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RLQ3Q/aq"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 74EA11F21AEB for ; Thu, 25 Jan 2024 12:39:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 53E6345C0E; Thu, 25 Jan 2024 12:39:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RLQ3Q/aq" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FDB537156 for ; Thu, 25 Jan 2024 12:39:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.134.136.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706186386; cv=none; b=ZT19SpB1VeKv15iQI9bJzVXNCEnSsV726L7R7Pikcgr+EqcgBXm9Sjvsy2DcoVV0r7uvSmnVEcTdpH0qiHlig9Jk6hbKnkw9FZcRv1LhGPF5s5Jx0tjmasRYoyUuqCut4ieugpcSfgSKXOF+Q0fQRq7eAxfMfpudbNovVGPlRFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706186386; c=relaxed/simple; bh=wzr0TASYNztIqq/P3j3q+NAQchW2xJw3crle8Sot/nE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UmjkcRhmrYWvheBfi5OsibPaZ4ke6AFwjvIeiF/M31SbqTdx0aIn4igGn0FjoUSZ+uJRF0aTe8ipd+f6Z8uvxUxOeBI99nmM5r2sZRU3ZWrpPXVwzDCmXsTVlf1YsD4lTcbNk3FxV+/HjKKd3hLd8HN+/BT/UvRMbZwLlE9/TQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=RLQ3Q/aq; arc=none smtp.client-ip=134.134.136.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706186385; x=1737722385; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wzr0TASYNztIqq/P3j3q+NAQchW2xJw3crle8Sot/nE=; b=RLQ3Q/aqnBGDLdyIXN+XRCJqTNGFB6Vlu1dagOAKb8Gr2nGcMElenvJ7 ps2HNIVoxpHZF9muIp/x1kcSBmn+xcDcjtEdPfgR8m4fuxCCUeUhWFEFv W2HLnFbMvKKSiRTNiw92sX0fVw+xZDgMu1q1608bQ735waF5R9YD30+p4 xfI/oww5fhwtpiGc024kUaRYeX6W7hvyV/Og2dG/freL9iaI8bbw4+gw2 VQh+gUffTjnvvFc2vB6mJPjKM6VzCPZgUl4TGyc719pPNsbovQtkZ/lGi DXOQBgzYKAr+0NrakN4qiBQIuGk18lWwk8apGtMn/9BICuEN4cI+yxWCM w==; X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="405898690" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="405898690" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2024 04:39:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="1117934204" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="1117934204" Received: from intel-lenovo-legion-y540-15irh-pg0.iind.intel.com ([10.224.186.95]) by fmsmga005.fm.intel.com with ESMTP; 25 Jan 2024 04:39:42 -0800 From: Kiran K To: linux-bluetooth@vger.kernel.org Cc: ravishankar.srivatsa@intel.com, Kiran K Subject: [PATCH] bap: Fix update of context Date: Thu, 25 Jan 2024 18:21:56 +0530 Message-Id: <20240125125156.1679513-1-kiran.k@intel.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix context getting updated with support_context. --- src/shared/bap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/bap.c b/src/shared/bap.c index d56911e6b9ef..06cac5bb34fe 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -2628,7 +2628,7 @@ static void pacs_add_source_supported_context(struct bt_pacs *pacs, static void pacs_add_source_context(struct bt_pacs *pacs, uint16_t context) { - context |= pacs->supported_source_context_value; + context |= pacs->source_context_value; /* Check if context value needs updating */ if (context == pacs->source_context_value) -- 2.34.1