summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
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;