diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2008-07-09 14:19:58 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-07-28 10:35:19 -0300 |
commit | f169545f05c25960c094c12f11a4ee452fb96ba8 (patch) | |
tree | 28920bf177a84519f4df1c9cd6386ca358488fc9 /hcid/dbus-hci.c | |
parent | 9f94306bcd017a6acb152685c940ed6d027a98c7 (diff) |
Adding device_is_temporary.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'hcid/dbus-hci.c')
-rw-r--r-- | hcid/dbus-hci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |