Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2546652rwr; Fri, 28 Apr 2023 11:56:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4mQ7mlHHCFSSmG9hU8EFHghjOAAZEdHHS7Dbsljcb/fhtMqEjaOQM3CslwlRnhI1q43JCy X-Received: by 2002:a05:6a21:918c:b0:c6:c0c1:b1fe with SMTP id tp12-20020a056a21918c00b000c6c0c1b1femr6151003pzb.57.1682708196989; Fri, 28 Apr 2023 11:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682708196; cv=none; d=google.com; s=arc-20160816; b=Lpm8jmRIKI5BvlROIhFAvpxbZXdWSCTSLhYgoFQvyIeF1c2iIQtEpsQN017An9ktQZ 3Kf/PsW1ZTJAXFw+CtT0BudONrtixovsBjJ1kn1XMRV1mYtYhE9RSr80zAsyf8Zo73+H A2AVvOEWt6kR5K93ZsfeH7WWJw0icpXkFzawrPdzDfOGP9UUqTMPmKRk6+uyP9XhWkJn q4h8sn4bnJF6oS7TFIXH4qM+5yHt+FR+Dd+z50V0yiun1Kg535cx7sHSWSFqXdRML96l uLiROD/11WoMzo0u90fsDlkcXjXeOjvbHy37p5op5k1T+Ir+04f1IGJa/XssOzrA2Sm8 4Daw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=R5PZrWIw9wJtuIkYP9O2VU+XSk2bbMScan7h1oDUe4c=; b=JpUkzVBgxEsUXyVfW0Cx7netP6DrNSm5C76jIRNJKSMHKcCVdR6DY2GZz7mqRVT2Ii Ez0gaM6Cb7x288TtPsiLpozVbNHCU0vXDtncVzRWdGNF+HZM48Q8OAlDb7Cems4VlJ4r nqRAFWcWJrole7h4tBGaE/cjjF8vyLUwlhAPW8L/NCUZwCz5HrbnWJj+JnHyZLESkUl8 bnF1bkyZ4CmCxoIkytjqcAYdHGG/atw8RM+4GkM3C+0KU6X6bLxqQX0kFUFT3cC18462 wWkipyZ45AsOQMqX4yrORKX8iIuVUuXrRGKgToSLuS1mCJcw4zeoSEhyLU54t1EJtZq0 zIvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HvHUhHfB; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w85-20020a627b58000000b006367f3bb8a9si9177017pfc.249.2023.04.28.11.56.10; Fri, 28 Apr 2023 11:56:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HvHUhHfB; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346116AbjD1Squ (ORCPT + 99 others); Fri, 28 Apr 2023 14:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232045AbjD1Sqo (ORCPT ); Fri, 28 Apr 2023 14:46:44 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEA8A2128 for ; Fri, 28 Apr 2023 11:46:43 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1a516fb6523so2862455ad.3 for ; Fri, 28 Apr 2023 11:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682707602; x=1685299602; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=R5PZrWIw9wJtuIkYP9O2VU+XSk2bbMScan7h1oDUe4c=; b=HvHUhHfBB4xTFA1HwP2QMYPm9IT6neWuUFtbtsU0BSERKoBVqQLPmSRbXrHkAHTdeu WgdeTFKKInKn8BanBiTcqH5pisG+iRHSfuC6wNOHZZ42cCbgbko6RyzviPmuPi/6MgqY bJvg6/tyaSF9ca1ayGRLWBBXH5c7yIVjQ+Mf+p3/C4MWm8AEMchvQRmdkKl7tXH9qeeY TXh1EJfNRiAPsrAvl+nuPyCVr8iCOl6SntBWwEJYeMxwMi+cueUASZZ6qrZ23TcaxT+A 1Lgn7iKUlev+6DxRptsHvB/tjYUeomS4iob4tw/Q0NLIiqg3CmTh7KymiytbRDDr4sRX xniw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682707602; x=1685299602; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R5PZrWIw9wJtuIkYP9O2VU+XSk2bbMScan7h1oDUe4c=; b=HnTBMNPCwPvu+QlvfNdghMWMgSFEkm8+9gMOkzX5L1uac4wEyI4a9awFCABERDn5wg gdUrGauAR/fmySH2v+Dks678CCk4/dRL1RBP6VYvLybdx1BPdkakeYGqUySs7T/47F/U o1MdrXL3F5BH8f+Wo1rM9UMTZFQI7A7syHvszCP3VnsjcQnPIsEne3fkTXZFfk5LUKHQ V4Qj7YOW4yIMDzPOC+hKeByRpdkUal3oHBWE/Fg3eYJr21ZGpiuMnW4KFGvzTu9g2F3N KManL8qVOkcogT+pLlXkIWN/XYg4hys5yJdKL/szFFXU36HdhiVqNIMp8linoDr4pu16 ZF9w== X-Gm-Message-State: AC+VfDySd/6NaaEdC1M/5HxxwTy/4AssthEE5+ON7d5OvHzQVEfrqaz3 lAoqY4ZOArQ/As+PFOf5GGoQnO1hM4Y= X-Received: by 2002:a17:902:f552:b0:1a1:a06c:4892 with SMTP id h18-20020a170902f55200b001a1a06c4892mr7461662plf.13.1682707602280; Fri, 28 Apr 2023 11:46:42 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-59-129-171.hsd1.or.comcast.net. [71.59.129.171]) by smtp.gmail.com with ESMTPSA id bf9-20020a170902b90900b0019f9fd10f62sm13626366plb.70.2023.04.28.11.46.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Apr 2023 11:46:41 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [BlueZ PATCH v4 1/9] media: Fix not storing Preferred Delay properly Date: Fri, 28 Apr 2023 11:46:32 -0700 Message-Id: <20230428184640.849066-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Luiz Augusto von Dentz Preferred Delay properties were being stored as qos->pd_* instead of qos->ppd_*. --- profiles/audio/media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/audio/media.c b/profiles/audio/media.c index 52c4bd80a94c..6ce668e31303 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -1483,11 +1483,11 @@ static int parse_properties(DBusMessageIter *props, const char **uuid, } else if (strcasecmp(key, "PreferredMinimumDelay") == 0) { if (var != DBUS_TYPE_UINT16) return -EINVAL; - dbus_message_iter_get_basic(&value, &qos->pd_min); + dbus_message_iter_get_basic(&value, &qos->ppd_min); } else if (strcasecmp(key, "PreferredMaximumDelay") == 0) { if (var != DBUS_TYPE_UINT16) return -EINVAL; - dbus_message_iter_get_basic(&value, &qos->pd_max); + dbus_message_iter_get_basic(&value, &qos->ppd_max); } dbus_message_iter_next(props); -- 2.40.0