From dda85ae73f31309dd43b239296d47de6b4bfa132 Mon Sep 17 00:00:00 2001 From: Alain Michaud Date: Wed, 16 Jun 2021 12:42:29 +0000 Subject: [PATCH] monitor: Adding missing device found flag in the parser 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/monitor/packet.c b/monitor/packet.c index fbde71101..65f84c152 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -12030,9 +12030,10 @@ static void mgmt_print_io_capability(uint8_t capability) } static const struct bitfield_data mgmt_device_flags_table[] = { - { 0, "Confirm Name" }, - { 1, "Legacy Pairing" }, - { 2, "Not Connectable" }, + { 0, "Confirm Name" }, + { 1, "Legacy Pairing" }, + { 2, "Not Connectable" }, + { 3, "Connection Locally Initiated" }, { } }; -- 2.47.3