summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-18 19:20:42 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-18 19:20:42 -0300
commitc560d02ccf1dd156f068b1da8a3e7d75d2319dfd (patch)
treef0925d7821b400fe061a97d9521f78daf0ff9f66 /network
parent0dda767d09a31eb13976371730e4cfe5e437869e (diff)
Remove driver.c driver.h and remove workaround for to force a symbol resolution.
Diffstat (limited to 'network')
-rw-r--r--network/manager.c1
-rw-r--r--network/server.c7
2 files changed, 4 insertions, 4 deletions
diff --git a/network/manager.c b/network/manager.c
index c03b7943..7cbf8220 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -47,7 +47,6 @@
#include "adapter.h"
#include "device.h"
-#include "driver.h"
#include "error.h"
#include "bridge.h"
#include "manager.h"
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;
}