summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-14 21:15:03 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-14 21:15:03 +0000
commit8f3835a95b8c614c8ed6b6f1083f6c023283ed70 (patch)
tree37da0ebc3e5baffa80cafec5f26623df0dc57e80 /hcid
parent19d46a37c8c3224e2a690352b305d8fc6af65e6b (diff)
verify experimental flag before register the device path
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)