Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp432497pxu; Tue, 1 Dec 2020 15:14:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxs+9EJTGMSTgX03eZ93aM2X0TW5y3GvtvKRAjZev0+ezLZSSrp31xUVrcd+IRPiwPr/DRJ X-Received: by 2002:a05:6402:18:: with SMTP id d24mr5390475edu.382.1606864490378; Tue, 01 Dec 2020 15:14:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606864490; cv=none; d=google.com; s=arc-20160816; b=g/4+iS4aSW6JvEBuuvpLtviIkUVxIGXGKs3DYLcQxO1KqAZ55xM13owKKjJBLzQJ+J 4t9i6Ny30tRgdi9vb6JMnQaRNEMT8yUqrUl1Y0/fNpm7EwFFihMe8MlDojn7PQhm+9r9 WXNwcrd4w/kDqVt9P8F9t2iQvbv+bx8XWZa0VuLXRbFaoiKqWeqWzrUmmy2GoPYr5JU5 YXqifaufoMIEuIcnk0UGTP3UMckiliwpQ5xo+60rusEoFXy1wgMTz7jz05Ai56SPAkTC bwqReGkpeqW+kqz7426QktgJUd6dsAZL6Dyy/EdXNwf3n23Ljs4Vl83DbMRR5ubO+KkU humw== 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=q42maWTIittNAB3tYJjXe+oA7RxdXXS71k8qozgz8vk=; b=fiUnYlkpxE6mF7eM9VfLNuSSSQBJwsAC4atPo/LImYKbPu7ldvSB7qCD85FQQrF9uj Ju/h25+l7bAMCOZ6BoHobw6KKwAbjLXlqTcTyzWV8aBydMefYvFcl39OCd+b3pZIRY6C jA0JhPv9yxkipXAGDYooq4+rz9nxhq64zqlUbqJsPhBYFebfEZfruN0Fcko1I8etBRTa 45Nkm5KDzjeNQmHxC9H+VHCqkIXKrfVKpngRC8AVcnO8JMiFu+9/pnkchW7tJwSdWWV5 cpAkKduK7MZX0RhPs6X63jBq1Jqc07xuDp/rsx+Rgh6cNr3RU+zR+3a8aUVK9A3NPH+7 vxQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MiYLZt30; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x72si796659ede.132.2020.12.01.15.14.23; Tue, 01 Dec 2020 15:14:50 -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=@gmail.com header.s=20161025 header.b=MiYLZt30; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726875AbgLAXOO (ORCPT + 99 others); Tue, 1 Dec 2020 18:14:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbgLAXOO (ORCPT ); Tue, 1 Dec 2020 18:14:14 -0500 Received: from mail-oo1-xc44.google.com (mail-oo1-xc44.google.com [IPv6:2607:f8b0:4864:20::c44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2044C0613CF for ; Tue, 1 Dec 2020 15:13:33 -0800 (PST) Received: by mail-oo1-xc44.google.com with SMTP id y3so829574ooq.2 for ; Tue, 01 Dec 2020 15:13:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q42maWTIittNAB3tYJjXe+oA7RxdXXS71k8qozgz8vk=; b=MiYLZt30BcI3CDGFtgCxZua85WsQ9Op8fMakUICjf0t1bY/tzqD5Gmv8NRoC9nxrMW B+Vo8iwhij9yKK1Xi9GBmhR/lTvfErkcPuDSoQQAgD/3umvM/RrROLJUt741aCRKzAJ5 QMt+unsJjNMZ2NWmvLHxy3oSJ2WbIl7LdASVnJB5fePgJqyC52oHL+gkTvbgJmFGdhIo XLowDs9dHARv8S/R2RO8fKrn16oWTZeP5S3BmHAzh9tZYPBGb1nnFKkHICl7/U4wYuJC nSjZ6n+ojHBM88HkRcyw3vahf1u7b2jzYvGywT2cWN1sIaR2FMZaaOeHiBJficQzYmTq QS7A== 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=q42maWTIittNAB3tYJjXe+oA7RxdXXS71k8qozgz8vk=; b=P9H7+vxOyuQwU7w8j5J4muVbUVgZNym+UND86lFDZ679QC29wIJKoOBAg1BUoO+L5f 15ARYUApeFWCuTK6Ym9L8uRUhKVVEmLpfcXOiFSmEiVLz8bOyrEoPZQpHm0C2/NU8Dvv U2D64mqm1jjD3eGtMpxbyZ7n94KeUN0ZqrKEK3unlVoyaaPPFLoWin3K/72Zy2lgIa7b JwdZXk3CinMp61BGHY+N1Qs2V1N5G9nvYEfH502gIcAN8ZsRKXOQC6gRI0A6dJrgQPPP 03bmtpNDW2w7XDc2HDP0rBKlxGins22gqRu4u1JQti1/KqJsLwpIMbyWcDEvy7/QdxbF WzaQ== X-Gm-Message-State: AOAM531FRAvbQKMBk2FyAtZfDAnndQAEF1ez3NatcW7ytbt8Fv2aHmTR qnwdlt3ys7B6asdf4oYRojaYhBocqiaflDEB9qg= X-Received: by 2002:a4a:3c59:: with SMTP id p25mr3552197oof.63.1606864413233; Tue, 01 Dec 2020 15:13:33 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Tue, 1 Dec 2020 15:13:22 -0800 Message-ID: Subject: Re: [BlueZ] main.conf: use correct key for BREDR configuration To: Alain Michaud 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 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