summaryrefslogtreecommitdiffstats
path: root/network/manager.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-03-26 13:35:30 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-03-26 13:35:30 +0000
commit9bea84c70ceca8efd7f1137c5aa3425e77c196cf (patch)
treef12012c70d5035c0c1c1a19c30710c2930eda979 /network/manager.c
parentb28533ef8bb61744e06c94f2df6704beedabd2f4 (diff)
Fix service exit.
Diffstat (limited to 'network/manager.c')
-rw-r--r--network/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/manager.c b/network/manager.c
index 52e6bffa..42542c9a 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -437,11 +437,11 @@ int network_init(void)
void network_exit(void)
{
+ network_dbus_exit();
+
if (bridge_remove("pan0") < 0)
error("Can't remove bridge");
bnep_cleanup();
bridge_cleanup();
-
- network_dbus_exit();
}