summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-11 13:52:13 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-11 13:52:13 +0200
commit5e2275640c12c5167f3d0e257d0293faa5e508b6 (patch)
tree97053d0e45bcfcaa04a02e4518590b8bf6e5ec7d /src
parent864ff71b5cf5eb75d393d16b1fbbb9441b475ebd (diff)
downloadbluez-5e2275640c12c5167f3d0e257d0293faa5e508b6.tar.gz
profile: Fix missing unexpected disconnection notification
Diffstat (limited to 'src')
-rw-r--r--src/profile.c1
1 files changed, 1 insertions, 0 deletions
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;