diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2007-01-20 01:12:39 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2007-01-20 01:12:39 +0000 | 
| commit | a38538129fe3e061ee324c6e05cf0eb62b020513 (patch) | |
| tree | b32c7895b1ceb7d5f7fb779a486136714ced0306 /hcid/main.c | |
| parent | bc5f5cda05a8432fadb53318222804c3a22e6ce0 (diff) | |
Support internal and external SDP servers
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();  | 
