summaryrefslogtreecommitdiffstats
path: root/network/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/server.c')
-rw-r--r--network/server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/network/server.c b/network/server.c
index e9db7df9..8c7bfb0d 100644
--- a/network/server.c
+++ b/network/server.c
@@ -334,7 +334,6 @@ static void authorization_callback(DBusPendingCall *pcall, void *data)
goto failed;
info("Authorization succedded. New connection: %s", devname);
- response = BNEP_SUCCESS;
bridge = bridge_get_name(ns->id);
if (bridge) {
@@ -348,9 +347,9 @@ static void authorization_callback(DBusPendingCall *pcall, void *data)
} else
bnep_if_up(devname, ns->id);
- ns->clients = g_slist_append(ns->clients, g_strdup(s->address));
+ response = BNEP_SUCCESS;
- /* FIXME: send the D-Bus message to notify the new bnep iface */
+ ns->clients = g_slist_append(ns->clients, g_strdup(s->address));
failed:
send_bnep_ctrl_rsp(s->nsk, response);