Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3998449pxj; Tue, 15 Jun 2021 13:07:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg9R/SlFggwSSLdg7FESEI3OUE3jg1b5EEEnsx6U+/8bbpaMPBRxsQUBuXQWHFAOXQW1Qh X-Received: by 2002:a05:6402:1b04:: with SMTP id by4mr1658992edb.238.1623787668562; Tue, 15 Jun 2021 13:07:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623787668; cv=none; d=google.com; s=arc-20160816; b=BWOuXYjd8AeoN29El4mCRQrk0J0HLX78ubdqH1ez5EkZSDI0/bBHOWl6SoOzWodhP8 u2F3o6tOqJnCE8Ivl3cuTta0StYd9E8DeKdDdEnybRGeP+HBZpJQc6z18x3XCaGJ45qZ tDkqN0lla3eV8uxuuVej7kauHxZoFkkS6WFU0FuzWEiiSp2h3+RGGZsbsJQrNCpGRmyW JMQ84KhgeSLtho2ce0cgqeHkm+IxhktEuDKNoCuK0Zt1EzCboNLGS3oS1Eh1MYogxton EI/If9mTPL4e2PxUq0opKpo+1JkalvaMrPTqBENB80vyJOdw3NXwqlkH+Iv/njJaIFrg oQrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=WTBrRzBCIokKOZBqY2GKW82vhGr5fo/sZM8z2l6GjYo=; b=RpcO0+202aM2CMsrRVorhfzZIHHna7GyTDafy2elTPZOOHxjzcTtQQ4pIjRqLHEfQ2 zI5lwEJtR9VezWJ1h1kqGpSzBlt1jUMkJ4d5gjBBsNvcDdQShg+il6Cy+mWQT5fsqG/P 4ddJbbwE7CN9Rp17s5RCGgJUFaUdFIGYH5u2qinBn7e+ntvhd72HFn6q1cJfoIzcpR3Q R6/5Jeb/+nJVAP/6mqyVz94PhAmEukEwaL1+MiF4tAJU/9UQe+BkdtRofhaSDOtBZGQU jsZHBgFZycVuPhDnj/jygxKwf7n2POdNJPdnGlzuat+wEGQ1sb8rDSbpLzAGMFLs5as5 f6Ww== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh4si3644ejb.56.2021.06.15.13.07.25; Tue, 15 Jun 2021 13:07:48 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230075AbhFOUIE convert rfc822-to-8bit (ORCPT + 99 others); Tue, 15 Jun 2021 16:08:04 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:47685 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbhFOUID (ORCPT ); Tue, 15 Jun 2021 16:08:03 -0400 Received: from smtpclient.apple (p4fefc9d6.dip0.t-ipconnect.de [79.239.201.214]) by mail.holtmann.org (Postfix) with ESMTPSA id AF510CECFB; Tue, 15 Jun 2021 22:13:58 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [Bluez PATCH] monitor: Adding missing device found flag in the parser From: Marcel Holtmann In-Reply-To: <20210615200005.946131-1-alainm@chromium.org> Date: Tue, 15 Jun 2021 22:05:57 +0200 Cc: Bluez mailing list , Yu Liu Content-Transfer-Encoding: 8BIT Message-Id: References: <20210615200005.946131-1-alainm@chromium.org> To: Alain Michaud X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Alain, > A new flag was added to the kernel implementation of the Device Found > event, but had not been added to the parser leading to an "Unknown device > flag" error in btmon. > > Reviewed-by: Yu Liu > --- > > monitor/packet.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/monitor/packet.c b/monitor/packet.c > index 82513a63c..2c3a6cebf 100644 > --- a/monitor/packet.c > +++ b/monitor/packet.c > @@ -12033,6 +12033,7 @@ static const struct bitfield_data mgmt_device_flags_table[] = { > { 0, "Confirm Name" }, > { 1, "Legacy Pairing" }, > { 2, "Not Connectable" }, > + { 3, "Connection Locally Initiated" }, > { } please fix also the other }, so that they align. Regards Marcel