Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp435274pxu; Tue, 1 Dec 2020 15:19:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4Xn/FjxlIu2cLNlmQUCIeGWdB+ILxQUNnnpOGYqJuY4nPZ2+7cCNmY3ecNMRiPGdjqYmP X-Received: by 2002:a50:fe0e:: with SMTP id f14mr1323050edt.159.1606864774883; Tue, 01 Dec 2020 15:19:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606864774; cv=none; d=google.com; s=arc-20160816; b=y+swfdhEPL5uow2uS9rVtlgHST/aX4UUmhUMYK8LIu4154M1k160jZmxGlb8ysLi90 IThCeOxElHFEkWY9nGPKOZ31kzdZ84ZEUrx60NJlCbIAqhxDVh0v9uXVYD7qNO2GQKoc 3f9Uh+BqYqlRtMDY9byvhLgeJe/miFjWwbMFV/5VxPdO2q0Vp2br970wMz5PtPTEiNTI zBNRrBLh1kz/23Cm8nKgCA6bzM/zY0l6jvTLhI0PuBrLE5Uz8vrGpSqs5KcoAKh3d/RL zQYVUL6zs6Esj3ovuwDtbZe4qZrRxNsjOj8szNDrOfFdROp+PATKeZr+if8Oe6VmCcR5 8iaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MxLhBmBCneFCr1x6F40S4sMmzzPbSOCcRuJRc5b+h9A=; b=bUGZKH+tLbgTs6TEPR3Ts/wfEvzwvMIUoejSAMyoGhR3dbTduStByzr29HPuuKNx1V 8wOlVeCQYu2SaAVwU+3iWWzGJhf6cmTCp+qGq+6yYz6aBEDKMUlXlTS56QwHQY79Qhck pnOfeSd645MNiDs3YzQ2hpBaN9NhEu5FXkxQfs5DIwH6+9tAyEd4pHAXyMlEY1RRE6w4 C80VBZHcaRyuDOA1Joig5j+N60qF1tILf4OwQh5X3EGur3C5Q31ywKn31XZEWA40X1Jb 2ppJXGEIso2KytnmUk/975Gm71zmiIbQO8t/wU2uRZHtRZ1s7AduGpDFnYCF08ath5DC klfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Qiqhprq9; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si905315eje.596.2020.12.01.15.19.10; Tue, 01 Dec 2020 15:19:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Qiqhprq9; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726997AbgLAXQ7 (ORCPT + 99 others); Tue, 1 Dec 2020 18:16:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbgLAXQ6 (ORCPT ); Tue, 1 Dec 2020 18:16:58 -0500 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B3BC0613D4 for ; Tue, 1 Dec 2020 15:16:18 -0800 (PST) Received: by mail-lf1-x141.google.com with SMTP id s27so8210053lfp.5 for ; Tue, 01 Dec 2020 15:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MxLhBmBCneFCr1x6F40S4sMmzzPbSOCcRuJRc5b+h9A=; b=Qiqhprq9VsCpachtd3QcSBA8DRbU9WEykGncFY0zTgLShfsFINiLhqr1riyu1Hq3IN 99zvnF9hPnLa1cZlNKRl0OTfVLGz1d3eTco5qLJaDrxy8K4NJrw7+WcoyWrDpQehQGMh 0IMaLBCTq8N1fim2bDaabw03lHgYr1rgD4QbXhg0ZNCr6Ljq43L8VJF6g5YwL3I0n9W5 wyIYTqIdK79niq8lYkeQmxBuaJpYxuJGldG3Wpr2PjF0cLE8lspmHjBep43X7YX5KqjI 4liSTKjijrve6KkEckHvc8xht7ZCAb78kGHodqqe4fXhEa9qW6epVzpHmeIbcuheP+UD WBSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MxLhBmBCneFCr1x6F40S4sMmzzPbSOCcRuJRc5b+h9A=; b=Bx6041gcSjvtYp9s4Ifqrseexo+Ds+XCOtxFWCq6iCxbI7nb54HqwOQUpfMBhhzBXp ZOFMXcBsIKk/Pk13nApwXpigyfLJgQUpoqwxyPLwQ4FqqRvunNW8rhPeyVsdVi+GpfO/ zH8sraoE9vO2yE0Nh+WcHvJizyf/4vTKp6/zuuy9LSndRoGi7GDos4kYH7ty6izj/C3b OSA9+xz3OCVh7uun6/ZoKlx43khaLg5fbdTSKkf3DUkGRtZge39QgNxIYsfMIX7rVpJk JnrEZtbFXuXJPlzqvLAo/5C0ESi8F8uheUIuvlDgWKBUxG15EeziYRWrCHd6pLpDE4BB LYyQ== X-Gm-Message-State: AOAM533rOK4AvHYR4nEyiu0B0Vu97IBGdS/Z/MsiwFqSP6BeKprg1wTX rcwNdRX6f/dAp+UnEe8nJLp9M3yN7qLsTKOYDcS3og== X-Received: by 2002:a05:6512:3054:: with SMTP id b20mr2437950lfb.45.1606864576758; Tue, 01 Dec 2020 15:16:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alain Michaud Date: Tue, 1 Dec 2020 18:16:08 -0500 Message-ID: Subject: Re: [BlueZ] main.conf: use correct key for BREDR configuration To: Luiz Augusto von Dentz Cc: Ronan Pigott , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Thanks for the quick turnaround Luiz. Converging onto BR instead of BREDR also works. On Tue, Dec 1, 2020 at 6:13 PM Luiz Augusto von Dentz wrote: > > Hi Alain, > > On Tue, Dec 1, 2020 at 3:03 PM Alain Michaud wrote: > > > > I likely won't get to it for a little while, but if someone will be > > fixing this, we also noticed this issue while reviewing the related > > patch: > > > > { "PageTimeout", > > &btd_opts.defaults.br.page_timeout, > > sizeof(btd_opts.defaults.br.page_scan_win), //<-- this should also be > > page_timeout rather than page_scan_win > > 0x0001, > > 0xFFFF}, > > Nice catch: > > https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=a37d53db9ae7d21a8f812925303d767d3f03e597 > > > Thanks! > > Alain > > > > On Tue, Dec 1, 2020 at 5:53 PM Ronan Pigott wrote: > > > > > > On Tue Dec 1, 2020 at 8:33 AM MST, Alain Michaud wrote: > > > > Hi Luiz/Ronan, > > > > > > > > This appears to have been an incorrect fix since > > > > parse_mode_config(config, "BREDR", params, ARRAY_SIZE(params)); will > > > > attempt to read from the BREDR section. My suggestion would be to > > > > update the group table entry instead: > > > > > > Oh, that's right. Whoops. > > > > > > Updating the group table sounds good to me. > > https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=e2863c003c8e65b386a981ef6037518beb605795 > > So now everything should be using BR as group name. > > > -- > Luiz Augusto von Dentz