summaryrefslogtreecommitdiffstats
path: root/network/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/connection.c')
-rw-r--r--network/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/network/connection.c b/network/connection.c
index 6025984d..18f79130 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -90,6 +90,7 @@ static gboolean bnep_watchdog_cb(GIOChannel *chan, GIOCondition cond,
DBUS_TYPE_INVALID);
}
info("%s disconnected", nc->dev);
+ bnep_if_down(nc->dev);
nc->state = DISCONNECTED;
memset(nc->dev, 0, 16);
strncpy(nc->dev, prefix, strlen(prefix));