summaryrefslogtreecommitdiffstats
path: root/network/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/server.c')
-rw-r--r--network/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/server.c b/network/server.c
index f3e6a995..0915d9d4 100644
--- a/network/server.c
+++ b/network/server.c
@@ -46,10 +46,10 @@
#include "logging.h"
#include "dbus.h"
-#include "plugin.h"
#include "error.h"
#include "textfile.h"
#include "dbus-helper.h"
+#include "dbus-service.h"
#include "sdpd.h"
#define NETWORK_SERVER_INTERFACE "org.bluez.network.Server"
@@ -410,7 +410,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);
- plugin_cancel_auth(&dst);
+ service_cancel_auth(&dst);
}
val = BNEP_CONN_NOT_ALLOWED;
goto done;
@@ -471,7 +471,7 @@ static int authorize_connection(struct network_server *ns, const char *address)
uuid = bnep_uuid(ns->id);
str2ba(address, &dst);
- ret_val = plugin_req_auth(&ns->src, &dst, uuid, req_auth_cb, ns);
+ ret_val = service_req_auth(&ns->src, &dst, uuid, req_auth_cb, ns);
if (ret_val < 0)
return req_auth_old(address, uuid, ns);
else