diff options
| author | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-18 19:20:42 -0300 | 
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-18 19:20:42 -0300 | 
| commit | c560d02ccf1dd156f068b1da8a3e7d75d2319dfd (patch) | |
| tree | f0925d7821b400fe061a97d9521f78daf0ff9f66 /network/server.c | |
| parent | 0dda767d09a31eb13976371730e4cfe5e437869e (diff) | |
Remove driver.c driver.h and remove workaround for to force a symbol resolution.
Diffstat (limited to 'network/server.c')
| -rw-r--r-- | network/server.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/network/server.c b/network/server.c index ec0c4900..aafdd4fc 100644 --- a/network/server.c +++ b/network/server.c @@ -47,11 +47,11 @@  #include <gdbus.h>  #include "../src/dbus-common.h" +#include "../src/adapter.h"  #include "logging.h"  #include "error.h"  #include "textfile.h" -#include "dbus-service.h"  #include "sdpd.h"  #include "glib-helper.h" @@ -359,7 +359,7 @@ static void req_auth_cb(DBusError *derr, void *user_data)  		if (dbus_error_has_name(derr, DBUS_ERROR_NO_REPLY)) {  			bdaddr_t dst;  			str2ba(setup->address, &dst); -			service_cancel_auth(&na->src, &dst); +			btd_cancel_authorization(&na->src, &dst);  		}  		val = BNEP_CONN_NOT_ALLOWED;  		goto done; @@ -387,7 +387,8 @@ static int authorize_connection(struct network_server *ns, const char *address)  	uuid = bnep_uuid(ns->id);  	str2ba(address, &dst); -	ret_val = service_req_auth(&na->src, &dst, uuid, req_auth_cb, ns); +	ret_val = btd_request_authorization(&na->src, &dst, uuid, +				req_auth_cb, ns);  	return ret_val;  } | 
