summaryrefslogtreecommitdiffstats
path: root/network/server.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-09-28 13:32:50 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-09-28 13:32:50 +0000
commitda7741d54263d6de3475b8c10db3c1dd3ebaebaf (patch)
tree20eed92b955623017d616241d9ca6a8de7e0fb36 /network/server.c
parent123ef726b4bb5c465cd8a5e7b7c003e55443b219 (diff)
Improve bridge and network interfaces manipulation.
Diffstat (limited to 'network/server.c')
-rw-r--r--network/server.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/network/server.c b/network/server.c
index ac87ad19..a349bc32 100644
--- a/network/server.c
+++ b/network/server.c
@@ -80,7 +80,6 @@ struct network_server {
char *path; /* D-Bus path */
gboolean enable; /* Enable flag */
gboolean secure; /* Security flag */
- gboolean up; /* Interface up flag */
uint32_t record_id; /* Service record id */
uint16_t id; /* Service class identifier */
GSList *clients; /* Active connections */
@@ -346,11 +345,6 @@ static void authorization_callback(DBusPendingCall *pcall, void *data)
}
bnep_if_up(devname, 0);
- if (!ns->up) {
- bnep_if_up(bridge, ns->id);
- ns->iface = g_strdup(bridge);
- ns->up = TRUE;
- }
} else
bnep_if_up(devname, ns->id);