--- a/bluetoothengine/bthid/bthidserver/src/bthidserver.cpp Mon Jan 18 20:28:57 2010 +0200
+++ b/bluetoothengine/bthid/bthidserver/src/bthidserver.cpp Tue Jan 26 12:06:42 2010 +0200
@@ -781,7 +781,10 @@
// Get it to disconnect if its connected.
connection->Disconnect();
-
+
+ InformClientsOfStatusChange(connection->DeviceDetails(),
+ EBTDeviceDisconnected);
+
// Delete the connection object.
iBTConnIndex->Remove(connection->ConnID());
@@ -818,7 +821,10 @@
// Get it to disconnect if its connected.
connection->Disconnect();
-
+
+ InformClientsOfStatusChange(connection->DeviceDetails(),
+ EBTDeviceDisconnected);
+
// Delete the connection object.
iBTConnIndex->Remove(connection->ConnID());