summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-09-06 22:01:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-09-06 22:01:30 +0000
commit97dc071487f722e3ec91534e79313a843b85fb3e (patch)
tree132afa4e58575ac88355b6e25c2cb0d2dedba595 /hcid/security.c
parent033622dcb3935c1d6a7147bfbbf753c1011e6ba0 (diff)
Don't retrieve stored link keys for RAW devices
Diffstat (limited to 'hcid/security.c')
-rw-r--r--hcid/security.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/security.c b/hcid/security.c
index 00204ace..eb50ee32 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -807,6 +807,9 @@ void start_security_manager(int hdev)
io_chan[hdev] = chan;
+ if (hci_test_bit(HCI_RAW, &di->flags))
+ return;
+
bacpy(&cp.bdaddr, BDADDR_ANY);
cp.read_all = 1;