summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-26 18:17:26 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-26 18:17:26 +0000
commit00a4f42d8f57683489c2bfa2434d813ea33d6bd2 (patch)
treefb6a1fd53d0c994005a209e84f0e01c7c01b9cf2 /hcid/main.c
parent9513c9f152909755d080f2ca65b8a7a109a9e946 (diff)
network: Add/Remove records directly instead of use D-Bus messages
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 63bf0a2c..99d2bd5d 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -900,12 +900,6 @@ int main(int argc, char *argv[])
exit(1);
}
- /* Loading plugins has to be done after D-Bus has been setup since
- * the plugins might wanna expose some paths on the bus. However the
- * best order of how to init various subsystems of the Bluetooth
- * daemon needs to be re-worked. */
- plugin_init();
-
init_security_data();
/* Create event loop */
@@ -929,6 +923,12 @@ int main(int argc, char *argv[])
notify_init();
+ /* Loading plugins has to be done after D-Bus has been setup since
+ * the plugins might wanna expose some paths on the bus. However the
+ * best order of how to init various subsystems of the Bluetooth
+ * daemon needs to be re-worked. */
+ plugin_init();
+
init_services(CONFIGDIR);
/* Start event processor */