From f169545f05c25960c094c12f11a4ee452fb96ba8 Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Wed, 9 Jul 2008 14:19:58 +0530 Subject: Adding device_is_temporary. Signed-off-by: Alok Barsode --- hcid/dbus-hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/dbus-hci.c') diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index 61d64c19..d59a4788 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -1904,7 +1904,7 @@ void hcid_dbus_disconn_complete(bdaddr_t *local, uint8_t status, dev_path, DEVICE_INTERFACE, "Connected", DBUS_TYPE_BOOLEAN, &connected); - if (device->temporary) { + if (device_is_temporary(device)) { debug("Removing temporary device %s", destination); adapter_remove_device(connection, adapter, device); } -- cgit