device: ignored ports are also owned by the device, so include them in lookup

This commit is contained in:
Aleksander Morgado
2016-08-06 13:02:19 +02:00
parent 764bfbce9d
commit f9e4e6b8f1

View File

@@ -129,7 +129,7 @@ gboolean
mm_device_owns_port (MMDevice *self,
GUdevDevice *udev_port)
{
return !!device_find_probe_with_device (self, udev_port, FALSE);
return !!device_find_probe_with_device (self, udev_port, TRUE);
}
static gboolean