diff options
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hcid/main.c b/hcid/main.c index 5da2216b..30b1c674 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -49,6 +49,7 @@ #include "sdpd.h" #include "dbus-common.h" #include "dbus-service.h" +#include "dbus-database.h" #include "dbus-hci.h" struct hcid_opts hcid; @@ -755,8 +756,10 @@ int main(int argc, char *argv[]) /* Initialize already connected devices */ init_all_devices(hcid.sock); - if (sdp) + if (sdp) { + set_sdp_server_enable(); start_sdp_server(0, SDP_SERVER_COMPAT); + } notify_init(); |