btmgmt: Fix enable adding irk when turining privacy on
authorSathish Narasimman <sathish.narasimman@intel.com>
Tue, 4 May 2021 11:14:54 +0000 (16:44 +0530)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
Unable to add the IRK in btmgmt when need to be updated. The option is
enabled now.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/btmgmt.c

index e5b2169..8adb236 100755 (executable)
@@ -5278,7 +5278,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"  },