2021-05-04 11:06:21

by Sathish Narasimman

[permalink] [raw]
Subject: [Bluez PATCH v1] btmgmt: Fix enable adding irk when turining privacy on.

Unable to add the IRK in btmgmt when need to be updated. The option is
enabled now.

Signed-off-by: Sathish Narasimman <[email protected]>
---
tools/btmgmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index 02fec1dca184..bf3b460d0f04 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -5277,7 +5277,7 @@ static const struct bt_shell_menu main_menu = {
cmd_advertising, "Toggle LE advertising", },
{ "bredr", "<on/off>",
cmd_bredr, "Toggle BR/EDR support", },
- { "privacy", "<on/off>",
+ { "privacy", "<on/off> [irk]",
cmd_privacy, "Toggle privacy support" },
{ "class", "<major> <minor>",
cmd_class, "Set device major/minor class" },
--
2.17.1