summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-hci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c
index bd05df84..95fe6c43 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -778,8 +778,8 @@ int hcid_dbus_start_device(uint16_t id)
DBUS_TYPE_INVALID);
}
- /* Register persistent devices */
- register_devices(&di.bdaddr, adapter);
+ if (hcid_dbus_use_experimental())
+ register_devices(&di.bdaddr, adapter);
failed:
if (dd >= 0)