diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2008-07-09 13:48:28 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-07-28 10:35:07 -0300 |
commit | 9f94306bcd017a6acb152685c940ed6d027a98c7 (patch) | |
tree | e4c95b7da99fe1b95a0d0f3cff75b8354b25259f /hcid/adapter.c | |
parent | d8b1e6017c0198bc996f9f9518037d69902b7830 (diff) |
Adding device_is_busy.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r-- | hcid/adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c index 15209333..60f3a58f 100644 --- a/hcid/adapter.c +++ b/hcid/adapter.c @@ -1673,7 +1673,7 @@ static DBusMessage *remove_device(DBusConnection *conn, "Device does not exist"); device = l->data; - if (device->temporary || device->discov_active) + if (device->temporary || device_is_busy(device)) return g_dbus_create_error(msg, ERROR_INTERFACE ".DoesNotExist", "Device creation in progress"); |