diff options
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 12 |
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 */ |