diff --git a/repos/gems/src/app/sculpt_manager/driver/nic.h b/repos/gems/src/app/sculpt_manager/driver/nic.h index 0c62ed1bf6..8fe60f7a55 100644 --- a/repos/gems/src/app/sculpt_manager/driver/nic.h +++ b/repos/gems/src/app/sculpt_manager/driver/nic.h @@ -31,12 +31,12 @@ struct Sculpt::Nic_driver : private Noncopyable gen_named_node(xml, "binary", "nic_drv"); xml.node("config", [&] { }); xml.node("route", [&] { - gen_service_node(xml, [&] { - xml.node("child", [&] { - xml.attribute("name", "nic_router"); }); }); gen_service_node(xml, [&] { xml.node("parent", [&] { xml.attribute("label", "nic"); }); }); + gen_service_node(xml, [&] { + xml.node("child", [&] { + xml.attribute("name", "nic_router"); }); }); gen_common_routes(xml); gen_parent_rom_route(xml, "nic_drv"); gen_parent_rom_route(xml, "nic_drv.dtb"); diff --git a/repos/gems/src/app/sculpt_manager/driver/wifi.h b/repos/gems/src/app/sculpt_manager/driver/wifi.h index 20ec42b380..37cfc311c6 100644 --- a/repos/gems/src/app/sculpt_manager/driver/wifi.h +++ b/repos/gems/src/app/sculpt_manager/driver/wifi.h @@ -59,19 +59,14 @@ struct Sculpt::Wifi_driver : private Noncopyable }); xml.node("route", [&] { - + gen_service_node(xml, [&] { + xml.node("parent", [&] { + xml.attribute("label", "wifi"); }); }); xml.node("service", [&] { xml.attribute("name", "Uplink"); xml.node("child", [&] { xml.attribute("name", "nic_router"); - xml.attribute("label", "wifi -> "); - }); - }); - - gen_service_node(xml, [&] { - xml.node("parent", [&] { - xml.attribute("label", "wifi"); }); }); - + xml.attribute("label", "wifi -> "); }); }); gen_common_routes(xml); gen_parent_rom_route(xml, "wifi_drv"); gen_parent_rom_route(xml, "wifi_drv.dtb"); @@ -87,7 +82,6 @@ struct Sculpt::Wifi_driver : private Noncopyable gen_parent_rom_route(xml, "wpa_supplicant.lib.so"); gen_parent_route (xml); gen_parent_route (xml); - gen_service_node(xml, [&] { xml.attribute("label", "wifi_config"); xml.node("parent", [&] {