diff --git a/src/system/kernel/device_manager/device_manager.cpp b/src/system/kernel/device_manager/device_manager.cpp index ffc539a23b..86ba40a0be 100644 --- a/src/system/kernel/device_manager/device_manager.cpp +++ b/src/system/kernel/device_manager/device_manager.cpp @@ -1454,7 +1454,7 @@ device_node::AddChild(device_node* node) device_node* before = NULL; while (iterator.HasNext()) { device_node* child = iterator.Next(); - if (child->Priority() <= priority) { + if (child->Priority() < priority) { before = child; break; }