The source project of this merge request has been removed.
bolt-manager: Don't fail to enroll devices without parents
Currently on systems containing AMD Yellow Carp, trying to authorize docks connected to the system in the GUI yields "parent not authorized, deferring"
Running boltctl authorize $DEVICE
works.
Running boltctl enroll $DEVICE
fails in the same way.
As this is a dock connected to a USB4 port there shouldn't be any parent to authorize. Fix the error by checking that a parent exists.
Edited by Mario Limonciello