Skip to content

device: fix matching parent device by connection UUID

Beniamino Galvani requested to merge bg/fix-device-parent-match-rh1716438 into master

We must compare the UUID with the one on the parent device.

Also, simplify the checks to only return TRUE at the end of function.

https://bugzilla.redhat.com/show_bug.cgi?id=1716438

Fixes: 27c281ac ('device: deduplicate match_parent()')

Merge request reports