diff --git a/src/device.c b/src/device.c
index 19ae03f..ecd385c 100644
--- a/src/device.c
+++ b/src/device.c
if (profile->remote_uuid == NULL)
return false;
- /* Don't match if device was just discovered (not connected) and the
+ /* Don't match if device was just discovered, is temporary, and the
* profile don't have probe_on_discover flag set.
*/
- if (!btd_device_is_connected(device) && !profile->probe_on_discover)
+ if (device->temporary && !profile->probe_on_discover)
return false;
if (g_slist_find_custom(uuids, profile->remote_uuid,