diff options
Diffstat (limited to 'src/adapter.c')
-rw-r--r-- | src/adapter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adapter.c b/src/adapter.c index 55ac92e5..c825542a 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -1259,13 +1259,13 @@ void adapter_remove_device(DBusConnection *conn, struct btd_adapter *adapter, if (!device_is_temporary(device)) remove_bonding(conn, NULL, dstaddr, adapter); + adapter_update_devices(adapter); + g_dbus_emit_signal(conn, adapter->path, ADAPTER_INTERFACE, "DeviceRemoved", DBUS_TYPE_OBJECT_PATH, &dev_path, DBUS_TYPE_INVALID); - adapter_update_devices(adapter); - agent = device_get_agent(device); if (agent) { |