diff mbox series

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

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

Commit Message

Joseph Hwang May 25, 2022, 10:50 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 33b1f2fea..11f7fe87f 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -14901,4 +14901,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);
+	}
 }