summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-09 15:31:58 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-09 15:31:58 +0000
commitf2a7dfa1566c75a8a52dd6692e9b139e36ddbc9d (patch)
tree5c2309ee2ee9e609b4977ccfdc5f5f9bde5113d8 /tools
parent31d673a617562c80e7af3558cfd49d7b0dfb900f (diff)
There is no kernel security manager
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index 64c30b11..a01937b9 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -226,23 +226,6 @@ static void cmd_encrypt(int ctl, int hdev, char *opt)
}
}
-static void cmd_secmgr(int ctl, int hdev, char *opt)
-{
- int val, s = hci_open_dev(hdev);
-
- if (!strcmp(opt, "secmgr"))
- val = 1;
- else
- val = 0;
-
- if (ioctl(s, HCISETSECMGR, val) < 0) {
- fprintf(stderr, "Can't set security manager on hci%d: %s (%d)\n",
- hdev, strerror(errno), errno);
- exit(1);
- }
- close(s);
-}
-
static void cmd_up(int ctl, int hdev, char *opt)
{
/* Start HCI device */
@@ -1642,8 +1625,6 @@ static struct {
{ "noauth", cmd_auth, 0, "Disable Authentication" },
{ "encrypt", cmd_encrypt, 0, "Enable Encryption" },
{ "noencrypt", cmd_encrypt, 0, "Disable Encryption" },
- { "secmgr", cmd_secmgr, 0, "Enable Security Manager" },
- { "nosecmgr", cmd_secmgr, 0, "Disable Security Manager" },
{ "piscan", cmd_scan, 0, "Enable Page and Inquiry scan" },
{ "noscan", cmd_scan, 0, "Disable scan" },
{ "iscan", cmd_scan, 0, "Enable Inquiry scan" },