summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-22 17:12:21 -0700
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-22 17:12:21 -0700
commitc2d31f21c68c5bb94a8a94e6dfe3fbad3e6d6bd9 (patch)
tree7d24865eeaac0eff25fdc0a7ff4f045cfd75b8a8
parentb5f810d74530a62bb389d40ade8581f7317bf3a9 (diff)
Fix emitting duplicated DeviceCreate/Devices signals.
-rw-r--r--src/dbus-hci.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c
index 7f142099..44700127 100644
--- a/src/dbus-hci.c
+++ b/src/dbus-hci.c
@@ -508,7 +508,6 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer,
gboolean paired = TRUE;
struct pending_auth_info *auth;
const gchar *dev_path;
- const gchar *path;
debug("hcid_dbus_bonding_process_complete: status=%02x", status);
@@ -547,14 +546,6 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer,
device_set_temporary(device, FALSE);
dev_path = device_get_path(device);
- path = adapter_get_path(adapter);
-
- g_dbus_emit_signal(connection, path,
- ADAPTER_INTERFACE, "DeviceCreated",
- DBUS_TYPE_OBJECT_PATH, &dev_path,
- DBUS_TYPE_INVALID);
-
- adapter_update_devices(adapter);
dbus_connection_emit_property_changed(connection, dev_path,
DEVICE_INTERFACE, "Paired",