diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-06-18 22:28:07 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-06-18 22:28:07 +0000 |
commit | 95e5960735be4066d43f77d91ebe78771cd76a43 (patch) | |
tree | 92ed938c3aeaed8de14cd713255c7ac511c35dd6 /hcid/adapter.c | |
parent | 72b1f5668dee842f457d57a8e33afe26900ae14d (diff) |
Make RemoveDevice to return when the device is busy discovering services.
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 281dd86c..43a3a8b4 100644 --- a/hcid/adapter.c +++ b/hcid/adapter.c @@ -4055,7 +4055,7 @@ static DBusMessage *remove_device(DBusConnection *conn, "Device does not exist"); device = l->data; - if (device->temporary) + if (device->temporary || device->discov_active) return g_dbus_create_error(msg, ERROR_INTERFACE ".DoesNotExist", "Device creation in progress"); |