From patchwork Fri Oct 25 14:28:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iulia Tanasescu X-Patchwork-Id: 13850817 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2050.outbound.protection.outlook.com [40.107.241.50]) (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 997501FB8AE for ; Fri, 25 Oct 2024 14:29:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.50 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729866548; cv=fail; b=PEMzkkca6QPcI7TKrpQZgWnl7se5twcl67keZnOAKPV0eJqvZdQLR77VTyqixdM6eRUK4WqLKeqA0nA1Rr7QlyuO9t0oHE0NmxCkP1fQi6StvqatpQ/f5Dxpvols9Buver0qReoQ25jzWP1FvmOaZUdDO4H235QVlusVwwzNj1A= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729866548; c=relaxed/simple; bh=xbolBX1FSBLMw9eukgaYF1szLiJ2VlYZ5/SLfb+mveY=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=m5yDo5Tz4Z3HAj0H6mH/sfnFy8uIsJKCCPFTtWT8bzUtoD2+HAp7alHNOLLaWGywtLmu3eNzg3wpmZkd5kYK036qAvPZ7tXCxKY0OG70SuChLaGPIAUTZUdeGolLm0QF+zx/pjfXRk9WNyAZ9ghSN2da0QP1m0pfOzR61S6Jtwk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=KZniHOBT; arc=fail smtp.client-ip=40.107.241.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="KZniHOBT" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=g2YfIagO6h1LSQTYfTyGhq0qAdAyIBNugpX5nusQb03X3gU0CmOVhlGK/AToIAiUpX1A8fwGADhtSGD/KJBlA4yuHjJtTTgoh5ON44WBlYUbGoU/bkuce7zYsnpXRBwQQSsxvHji3MCGh/0habL9czP4LQlOI5ySXXcYHmnn6X941GhzfWYEncgCBlnYPQZttmKdqO9gCDVCZY96089eByaZEXeQzA5RGKwPL7W/iOKSz8yU4PXXOd/HuQPZ6l7miV4qQdDga0A8PZH3YQlADuQHYhQf1kk/8X+IJufyKZ+Zu1sbTsiVC3oXB81jw93Nu1uG7m8RjzKQkGlPr5qvqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XlJJhqtxFfD2Swbn14ThlGFPchtbjB28uLieAboDENk=; b=MP1+Zgh6k+UsA3VVzLHPJ5k0729et9eVW5eFvcCFLVZSqUzmrbxXFK5G2uuwh3pK3FA87Nss3PYbA+HegD/bZ+6NZdh6bHgvisdSzRWmp0ZQz94MCBqj/p5eoxxTRGyeGrZm7GbFlKiOvA/WERKaLomPWiUJQyTsXocAQtZBVaQWMGYFkbuQNEGzL2MdPHTX6YenUsYyBCMgPALq9G8ybSlvaBjuO7ENIhoTeQmb9jJWawb3MXhUkxFyD9ZHzUwehT8ZijlImxxazrKW/imSzyHKz7KvMLOqRp7nLz82YnDh21IHifSkY6hOSqX9ObXp0C4dL4FiYneBC3eKbHTWWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XlJJhqtxFfD2Swbn14ThlGFPchtbjB28uLieAboDENk=; b=KZniHOBTMpK7Pf/Uv7tnn+Gmp3uQhu2xVbsDZXYsxqjvQlmtXHp1ZjLANaLdGnK8LHTm5tBkv/y6fp1mK2i+LupRpJWf1YBaNM5Mu7wBvUDuuZREtwJOec8p0QX/FVseSPz3Y17xUfvVUwUm6fXbWpjzS3K1TUFKOna0cfmK8VtaHrwX5O+aaaZ6gaYDOQi540duuEFyuY4jIu2ql8xOTQ99EAW0yuoCQOqInbUDXDBhO7EpaRl9mddSNark0WfTSI6BOyRzpHBUtTr0MK0WXQYwf72Q0pI6j5So0So3Sa4Xy//1S+t822x+JWiL0TE29yJK16FwbH3CKBnCOZ4zTA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) by GVXPR04MB9830.eurprd04.prod.outlook.com (2603:10a6:150:113::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.20; Fri, 25 Oct 2024 14:29:02 +0000 Received: from AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::5e22:869c:33c:9654]) by AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::5e22:869c:33c:9654%4]) with mapi id 15.20.8093.014; Fri, 25 Oct 2024 14:29:02 +0000 From: Iulia Tanasescu To: linux-bluetooth@vger.kernel.org Cc: claudia.rosu@nxp.com, mihai-octavian.urzica@nxp.com, andrei.istodorescu@nxp.com, luiz.dentz@gmail.com, Iulia Tanasescu Subject: [PATCH BlueZ 0/2] transport: Fix select/unselect reply missing Date: Fri, 25 Oct 2024 17:28:40 +0300 Message-ID: <20241025142842.46566-1-iulia.tanasescu@nxp.com> X-Mailer: git-send-email 2.43.0 X-ClientProxiedBy: AM8P191CA0020.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:21a::25) To AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8898:EE_|GVXPR04MB9830:EE_ X-MS-Office365-Filtering-Correlation-Id: ca8af5aa-88e3-4869-fd46-08dcf5015f59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: 1CBtBuBgg+b5R+1w+aWJUWSuPzHH2go6lyt2OQEqIH5/TnOEPgTdf8hN1jcGH5vS02RQkui78BgKP3TayulVy94IQyFx8r5xJFm3bXEvIKSwgUr7PQgglnX9K9alo31dH8q1BY/j2LbWFHllW/p1OxYEyV/vRGHVAXKlFYT9Csiwj90IlE1+bU2DplG93xLFtRWmnQ6qPfWV6pPS8l8oiSU9DMY34vxTZgKtXHDu52duegvMCHPqnUJpfvpm99zn4DDX/wFl2Bgxvwdbf5CkszjP2HImJ3DxsmgRjbpiRlZX9ozyESx21FxrgUV3OS/7d4Xvm/YuY323X2DeipV8MKhKP1eG/VjaJnpRtAfawWNFdPaPn0P4ktJF+yzEAn+uCXOcYqNwFxuJvMevg/o2VlXPweEA0HqMCg/RDaJgwQdVhcosKnHwgK01ERzEQCQI1FjFXZeHAwRFkQVhWMtdmRmD0t+QuN5QAILJ4Cgzx3Mi71sEblJoQPoGwnbIXV0/5C6pzTYQwImjbqYEg9+rt7IUCIuTAlnabcUVf4EoejOAnKxk27IoYN/LaPPOJvogyoF+uVWb4jOHnzptG1HcFsXpJj4ahh1Zl0THlXEl1IPkt0NLwi76Dk+87JrgnOq1KcuTAXxy0CM91koqW8X1LalSV64mvXq4wveoNa+5cLWeSvquiBmUhbba19ZeQs3aix8S17OJqpsCBqZVYf0mRyv6xkGSjCTFamxgbYz/tjC0Aolkw/93sNaljb4H25JmQpjlXEuuHhDxypdSqpIbUOJVCR5kwEEmDm2OJ662ijYGBb6aX5lT99XMqejPfYyDsxv4xZhAiQl6mpKgRSXTfgwcTJltT9S4ldVZ3+NK6deGvx7lYlwuNwfAPH27mhrwO7+C0kNb6OB3W7QNoXOxHxQJcklaEIwiNJvIuNX5F2r6GMeWH7M5DEX8+qcVV0k10O+nEsoKuR1EXr0pruUcp8PXBeMxCJTva6ut3WKzyTqd80Uc3sxBTfyTb4aSzGLNZ4OqAgmIs76RbVeZ/BO3A1c5d4VIrBpdjJpOh6SXmNusbKXC9LM7h+SuOuOPm37Y5yDbKC8WG0xxlEteafrSgC1VWpUMuCdQKTkWy2Fb04dOP4cYfa/BFlFp99pEuDDJeI5Tcgfd6vzWNeZleXJHsiN0A5kYVtl0k8eN1GhC2Z3U5RnMK/TDT3XEEPP7X0iiyhBKczsDiufIzf7LwuLOvQFSBjE9gDqzfhR/oYQyFDADsWJEONXIV5w6iQDw2jxnAFY9zM/jqvyveBzD8lLDNkUDu/wPFIyeDcXnJabXLHnTGQmGJJdxDLAXMqgcqwysXboEnPSai5TJhePrGpsG6inMSOs4vYgzeyEU6yDWQ5E= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8898.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS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d6WVeyRFR0S6MbszwerjLzJnr1Xcw6ZS+U4pgfXpAUYOU8sz0TEYMwlKZTKFBimLkOVUScPCEpg53j/EVvRWIDXu+BoOSdvyafBPRe5WnaYw3KzYOMS48PmhKVfBGgtoCLFhaSGI2tjJPWCQ3FP2iBE+L+KWgylIHHU3ChiYdJewRRFhQHnatBjyvBKQn7ptz4C9nMie8Cmeh5AbEKXU5Lb1DWv2HncN1lRQptfkXSGKzqq8yNRhoi/bvePjDn4Elh499c71OlL7RjmUld3+PW8eeMwoEeCT8YrMyv1mnptzeLfcCwNTOO4WAu50xpQTe3raphrjm8vgFne+HR2PCZFVcZHYovG4f/4n+1NLWVsdLt63+Dixx72rRqm/ro6+ZiJV3UtkdaUJQ4w0c6zIKgs/yMx/rt7lTl5eum9frlzrdjr4Xat4ovBsLbtnJ+b3dIXmlg4t+JnuAmPcjlkT6HSfzjoV5dBTK8G0am8gaVEhVW07t5wywc0iCXbnKw6JSEMpsX9Xj5nOqeRg2rfAOlvADQGvocVtWzvtZt0uC+0LJ+f1QCxgcBNXrQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca8af5aa-88e3-4869-fd46-08dcf5015f59 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8898.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2024 14:29:02.4745 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0R2RZod3Yxq2CJa+jy7m2LhI6thfafbyc9uN/z9v79xDHThJPO2mptBZlXOyts3VpMrYOo57qRzRotZwIPd/OQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9830 When a transport is selected from bluetoothctl, a reply is expected. Currently, if the method call is successful, no reply is sent, causing the following error message in bluetoothctl: transport.Failed to select: org.freedesktop.DBus.Error.NoReply The same error can be reproduced for the unselect method. This patch updates the select and unselect methods to send reply messages. It also fixes the shell prints in client/player.c, when the replies for select/unselect are received. Iulia Tanasescu (2): transport: Send reply to select/unselect client/player: Fix select/unselect reply prints client/player.c | 4 ++-- profiles/audio/transport.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) base-commit: 806a552d53c787c0ddea9328a09b0ef124bca26e