diff mbox series

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

Message ID 20220526112456.2488536-6-josephsih@chromium.org
State Superseded
Headers show
Series [BlueZ,v6,1/8] doc: Introduce the quality report command and event | expand

Commit Message

Joseph Hwang May 26, 2022, 11:24 a.m. UTC
This patch adds the missing decodings of MGMT commands to
btmon --todo.

---

(no changes since v4)

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 851296ee6..c26a80110 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -15237,4 +15237,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);
+	}
 }