Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3993934pxj; Tue, 15 Jun 2021 13:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLMII1ZIh8r18m2Jjdv0PNTaOg3i0osMlSjde9a+jYSVJRd5U6yx1SKGRQDmHPLH0H5cOz X-Received: by 2002:a05:6402:5:: with SMTP id d5mr1573519edu.312.1623787318013; Tue, 15 Jun 2021 13:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623787318; cv=none; d=google.com; s=arc-20160816; b=ziA5F41Qsn1eDnZPZytFMoDyISVmVMiEoXYfpX8ZBruP5+tSTeFObryjAAj1/9/E68 QswhV/vBjbDyZQxm+ui1GzC9Dwzv0S3yyZ3iv1P7XCTLm8/32ZS+eM0FYPcj/rUDSgpt k1Mo+dwQF9qasDdqIfMpjjgnmvLEq3WGLL8bgC2N9XhPdit9Nz7ShSZkzuSVItgLFwYF sz0TlsZmDhkC5bWH+jCcqDy0ulbUQYiHLM2kAub5C9leGULuTazqXFK3wKbkqTpF7b1F rPBJys2wuKcasNH3CYaI3sZ4c5qbcmwSMYxCx2tPpdMFWe7O2ltqeT14NP+OOexXyite vReA== 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:cc:to:from:dkim-signature; bh=s62CKXgVmpTv3Pbh3kq5p9fmUR9qdyF2LkClO6mrLRI=; b=IeItpR1QBuBYzkF9r3U5yo469mqbv3IvGlhGGTm909VSquvfYfO6SQddiZNx3HcaYc 3+9IyhRQIrxSbtG3/DTzc2eIDnSjVH7V1ZXDFxpfrbjVh67nr7nU6V9lTj4zFsxBKxSb mHU0YOUmY1VU+MmXNyIBPFqYACuHoHK1Ej8Ilws2brh5laElwe0tPcuc1C4uFhCWn6hU UsaL7M//6+fw26mevjaZLRhaulow6HKTCtAoEqsW9CmcyT3T0mC29maqwF8d8DS5IhfY /bcgZHSw2cD9Tobb/9MSbJgxAgdF+FjoCrLJkqQikbtIQNnpHXvDJ04DhePdPEaEUwmJ +46w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=W+CaWvdP; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 24si6528247eja.677.2021.06.15.13.01.32; Tue, 15 Jun 2021 13:01:58 -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; dkim=pass header.i=@chromium.org header.s=google header.b=W+CaWvdP; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbhFOUCR (ORCPT + 99 others); Tue, 15 Jun 2021 16:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbhFOUCR (ORCPT ); Tue, 15 Jun 2021 16:02:17 -0400 Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC598C061574 for ; Tue, 15 Jun 2021 13:00:12 -0700 (PDT) Received: by mail-ua1-x92d.google.com with SMTP id c10so7120536uan.6 for ; Tue, 15 Jun 2021 13:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=s62CKXgVmpTv3Pbh3kq5p9fmUR9qdyF2LkClO6mrLRI=; b=W+CaWvdPpa723VzYoqgwVTatzy6gKZuIOfsDHgY8fK+vxEn+KrAbVbckt5X5NwVnqc EziRc5XFIysi9obUDTQi9I55TcsNmmzIl0RtJ0rnNBhwGMsHuXztamHIgZnFdTaUp6VL 4Xkk98IwT2iPHNUNwH23kWprSBIFhGQghddj4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=s62CKXgVmpTv3Pbh3kq5p9fmUR9qdyF2LkClO6mrLRI=; b=YBjg6vXQc262dhP7sRAO0gLaG79VzLvMC/8fBGxyUe4Mljq3BDBBp8oP0gcP5T+BPA 0JESgCK/j8IVPcsVotXthw/epoQtSk+u2KJiQHjgUqhHhA5M0MRaB1Y1MXsVY4LO9q/t FWGTL+MD6ftpHStRF86lwBS32PIrsQiGRIH7xHUgn9jhTU7guxWYSK6uXrmk9Zitl39R IC9AQ1JXEOkYnZ6JSVWqQ8iVXafeXZehAOpn6eRg+ttPoIArb/3dfsvAvVUUaTMsTxjA ovWedyGLiEEabLSKgkIXjHm++ns7j0P/XvCWRfSQlnW7LHQjXs8kR7B7nw7QGi2UWrYE v5pQ== X-Gm-Message-State: AOAM533k5HK263B4qzamwlCUzekOs0gSHcmfevHivOr7/6Vbmv9CaJE9 /BPdK+IR3FzGP7JgDM8p8KJ0dPKiQAjUhw== X-Received: by 2002:ab0:2841:: with SMTP id c1mr1128522uaq.124.1623787211349; Tue, 15 Jun 2021 13:00:11 -0700 (PDT) Received: from alain.c.googlers.com.com (162.116.74.34.bc.googleusercontent.com. [34.74.116.162]) by smtp.gmail.com with ESMTPSA id r205sm2753vkr.47.2021.06.15.13.00.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 13:00:10 -0700 (PDT) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud , Yu Liu Subject: [Bluez PATCH] monitor: Adding missing device found flag in the parser Date: Tue, 15 Jun 2021 20:00:05 +0000 Message-Id: <20210615200005.946131-1-alainm@chromium.org> X-Mailer: git-send-email 2.32.0.272.g935e593368-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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" }, { } }; -- 2.32.0.272.g935e593368-goog