diff mbox series

[BlueZ,v4,8/8] monitor: packet: add missing decodings of MGMT commands to todo

Message ID 20220215133636.2827039-6-josephsih@chromium.org (mailing list archive)
State Changes Requested
Headers show
Series [BlueZ,v4,1/8] doc: Introduce the quality report command and event | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint success Gitlint PASS

Commit Message

Joseph Hwang Feb. 15, 2022, 1:36 p.m. UTC
This patch adds the missing decodings of MGMT commands to
btmon --todo.

Signed-off-by: Joseph Hwang <josephsih@chromium.org>
---

Changes in v4:
- This is a new patch that adds the missing decodings of MGMT commands.

 monitor/packet.c | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/monitor/packet.c b/monitor/packet.c
index 5f2085b4e..33e0cf7f6 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -14696,4 +14696,13 @@  void packet_todo(void)
 
 		printf("\t%s\n", le_meta_event_table[i].str);
 	}
+
+	printf("MGMT commands with missing decodings:\n");
+
+	for (i = 0; mgmt_command_table[i].str; i++) {
+		if (mgmt_command_table[i].func)
+			continue;
+
+		printf("\t%s\n", mgmt_command_table[i].str);
+	}
 }