From 5e2275640c12c5167f3d0e257d0293faa5e508b6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 11 Dec 2012 13:52:13 +0200 Subject: profile: Fix missing unexpected disconnection notification --- src/profile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/profile.c b/src/profile.c index 65dc7234f..fba894c81 100644 --- a/src/profile.c +++ b/src/profile.c @@ -622,6 +622,7 @@ static gboolean ext_io_disconnected(GIOChannel *io, GIOCondition cond, DBG("%s disconnected from %s", ext->name, addr); drop: + device_profile_disconnected(conn->device, &ext->p, 0); ext->conns = g_slist_remove(ext->conns, conn); ext_io_destroy(conn); return FALSE; -- cgit v1.2.1