summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-11 03:51:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-11 03:51:37 +0000
commit518bb944173c2036486b25a764966bd738bb5ecf (patch)
tree4a26ff5a1363eeff675fdd1df90a9719934db0e6 /hcid/main.c
parent2210fda2d9ff2d751fc1ba97e03f6006e4802690 (diff)
Complete re-design of the D-Bus interface
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hcid/main.c b/hcid/main.c
index d5e5de85..a41afe7b 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -402,9 +402,6 @@ static void init_all_devices(int ctl)
#ifdef ENABLE_DBUS
hcid_dbus_register_device(dr->dev_id);
-
- if (hci_test_bit(HCI_UP, &dr->dev_opt))
- hcid_dbus_dev_up(dr->dev_id);
#endif
}
@@ -475,18 +472,12 @@ static inline void device_event(GIOChannel *chan, evt_stack_internal *si)
configure_device(sd->dev_id);
if (hcid.security)
start_security_manager(sd->dev_id);
-#ifdef ENABLE_DBUS
- hcid_dbus_dev_up(sd->dev_id);
-#endif
break;
case HCI_DEV_DOWN:
syslog(LOG_INFO, "HCI dev %d down", sd->dev_id);
if (hcid.security)
stop_security_manager(sd->dev_id);
-#ifdef ENABLE_DBUS
- hcid_dbus_dev_down(sd->dev_id);
-#endif
break;
}
}