Diff between beadb6d72c018c447d28652ab00b24c542eeadca and 3d3f496f4eba55d7977b6570b22a7650fe688348

Changed Files

File Additions Deletions Status
tools/btmgmt.c +2 -0 modified

Full Patch

diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index 15152b1..e262350 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -3354,6 +3354,8 @@ static void cmd_select(struct mgmt *mgmt, uint16_t index,
 	if (!strcmp(argv[1], "none") || !strcmp(argv[1], "any") ||
 						!strcmp(argv[1], "all"))
 		mgmt_index = MGMT_INDEX_NONE;
+	else if (!strncmp(argv[1], "hci", 3))
+		mgmt_index = atoi(&argv[1][3]);
 	else
 		mgmt_index = atoi(argv[1]);