summaryrefslogtreecommitdiff
path: root/monitor/packet.c
diff options
context:
space:
mode:
authorAlain Michaud <alainm@chromium.org>2021-06-16 12:42:29 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-06-16 15:33:39 -0700
commitdda85ae73f31309dd43b239296d47de6b4bfa132 (patch)
tree6ca9e9b50b9d44e64188cf480085f9b29c7154ae /monitor/packet.c
parent40f996c64afa28ddc0d9a081ba0fac3526d046b9 (diff)
downloadbluez-dda85ae73f31309dd43b239296d47de6b4bfa132.tar.gz
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 <yudiliu@google.com>
Diffstat (limited to 'monitor/packet.c')
-rw-r--r--monitor/packet.c7
1 files 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" },
{ }
};