Skip to content

Commit

Permalink
trivial: Ensure explicit-order is propagated to child devices
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsie committed May 22, 2024
1 parent bb2d1a2 commit 154bfd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libfwupdplugin/fu-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ fu_device_add_internal_flag(FuDevice *self, FuDeviceInternalFlags flag)
GPtrArray *children = fu_device_get_children(self);
for (guint i = 0; i < children->len; i++) {
FuDevice *child_tmp = g_ptr_array_index(children, i);
fu_device_set_order(child_tmp, G_MAXINT);
fu_device_add_internal_flag(child_tmp,
FU_DEVICE_INTERNAL_FLAG_EXPLICIT_ORDER);
}
fu_device_set_order(self, G_MAXINT);
}
Expand Down

0 comments on commit 154bfd8

Please sign in to comment.