Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp457129lqo; Fri, 10 May 2024 05:23:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJuh+WALCoLMUdUJPXdOUZ7J/JLU5pK6gYVerjFouCKAyKFntU3a+XmZOsTtkfyBTORc+yMhpPBx3RSP6h00qnprqlbhwlVZDdTzEy+w== X-Google-Smtp-Source: AGHT+IFv7VJ/VYENSbEA68+eFaYoYslmte02HwXz7Ym7N73rLRjK0kDipfUg2n3hZBNeSo1eYzZm X-Received: by 2002:a05:6a20:5b03:b0:1af:da6d:f9f4 with SMTP id adf61e73a8af0-1afde1b7ec8mr2398655637.38.1715343814831; Fri, 10 May 2024 05:23:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715343814; cv=pass; d=google.com; s=arc-20160816; b=Z6BVUkrSIEPYbzBMX1Rd3I/au0cNbeu5ruoUCsN7yju9EBVrLt1dkY+eHG4jDRoJV7 H8/M9MpYc89Ny5urujEFojMCHrxh+xSQznLRi3DPh5rwrUxmHjetGncw2n580jWddSq2 Mf3kL98ijp3S93o+D6s9yFybHgARSSEoropv5yFGI8yhQX41YmURCt3Gaqf364W/3pP2 SNu1Iic+hdTPLFU1pLvDXHuU9H4d8p4sxrDHT35LJ/A4M91G/bX0YW1lx5f93rIM6gFr 68u2jsVEywyPpxxfGQ9ReGrpo2trj8K/ZFt2kfzdnbZYm2Ax6AaJ14+4NUSwiEsiVhqB fMBQ== 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:cc:to:from; bh=0sB9GK/DC+eBtU8eqkSeIIRxjdqA3bXBjsHBnVbNQt4=; fh=uo5u2TQK/HQlhydMwGLjBAnuDwaLxndJ/cgWTjIagS8=; b=KzHC0BvoBrsHujlg1JA0G5KJnULvF5SZSw83oyR5kDiHWYofqFkMuu3xr8hTYaEjaB 3+tiW4QDiveQNZiL5zOhGgtRvmPN1PwdWHT0osJ9NPR3o7fy2sCO4TwMDtNgVpjhMPQI 5/hBW0URNHBeWEVFgFO4NtvxU5Efg/EnELpFeDaSp3KQFnrMbZI9FDoa5yNcfQe7YIV8 9L+7Yb1UGZ686A6uk/bVOUCvtuw1TEoss60+GuqQObiLfWhkpwIUiBEyDzL2SvNV+AMI IYLP/6NaCJMzqrql3fnvjIfCZOMsE27xiNEkhN8yVfvA9uj4UYrtGAEAM2pg0r18xGSf 5JXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=hadess.net); spf=pass (google.com: domain of linux-bluetooth+bounces-4476-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4476-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a96e95si3540233b3a.115.2024.05.10.05.23.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:23:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4476-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; arc=pass (i=1 spf=pass spfdomain=hadess.net); spf=pass (google.com: domain of linux-bluetooth+bounces-4476-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4476-linux.lists.archive=gmail.com@vger.kernel.org" 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 D6DD3285D1F for ; Fri, 10 May 2024 12:14:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1DEF1708AD; Fri, 10 May 2024 12:14:17 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 34573170850 for ; Fri, 10 May 2024 12:14:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715343257; cv=none; b=W6jMsm5Ltr2sGutbn4cpV3IBao94KEaOBkWZX3LqR4ScxOSbWzDCk0zXJIPmxMUY+W7fu2jirBbgf57bE+XUD6TbqR/REbHN8nYcdKiYc+G8dUoGoF6YsGjszdFnmuSxHAVARcAWg0AdmkXQP4SDLzy3mDBrZU4XG3nQzOVs25s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715343257; c=relaxed/simple; bh=UVmzgHwRrHupYFJb/Xbq0QuAhlgLC7EEyPNuRozn0po=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fgx1m/Y7Neyj0D/+qKpVqSmTRIY0zA0H8D9dJki/l6yLXMdny206r2P+CDKbzC+uoPazmI0Hd9Uo/2aerm4q0sgOimSo5s2lPm+GMOImgPjcBwsrY0TMblVSf9to/ahPXBtw82GrzEub7/sonuKTx95HvRPKiueVQ59Wo9uZUcI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net; spf=pass smtp.mailfrom=hadess.net; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hadess.net Received: by mail.gandi.net (Postfix) with ESMTPSA id A30066000C; Fri, 10 May 2024 12:13:59 +0000 (UTC) From: Bastien Nocera To: linux-bluetooth@vger.kernel.org Cc: Bastien Nocera Subject: [BlueZ v2 13/20] client/player: Fix copy/paste error Date: Fri, 10 May 2024 14:10:23 +0200 Message-ID: <20240510121355.3241456-14-hadess@hadess.net> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240510121355.3241456-1-hadess@hadess.net> References: <20240510121355.3241456-1-hadess@hadess.net> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: hadess@hadess.net Error: COPY_PASTE_ERROR (CWE-398): [#def95] [important] bluez-5.75/client/player.c:1846:6: original: "qos->sync_cte_type" looks like the original copy. bluez-5.75/client/player.c:1852:6: copy_paste_error: "sync_cte_type" in "qos->sync_cte_type" looks like a copy-paste error. bluez-5.75/client/player.c:1852:6: remediation: Should it say "mse" instead? 1850| } 1851| 1852|-> if (qos->sync_cte_type) { 1853| bt_shell_printf("MSE %u\n", qos->mse); 1854| g_dbus_dict_append_entry(iter, "MSE", DBUS_TYPE_BYTE, --- client/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/player.c b/client/player.c index 6b70e9ed3f9d..7f67425aaf8f 100644 --- a/client/player.c +++ b/client/player.c @@ -1849,7 +1849,7 @@ static void append_bcast_qos(DBusMessageIter *iter, struct endpoint_config *cfg) &qos->sync_cte_type); } - if (qos->sync_cte_type) { + if (qos->mse) { bt_shell_printf("MSE %u\n", qos->mse); g_dbus_dict_append_entry(iter, "MSE", DBUS_TYPE_BYTE, &qos->mse); -- 2.44.0