mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
sculpt_manager: remove invalid network node
With the recent Wifi::Manager changes setting an invalid SSID will lead to a diagnostic warning. Since disconnecting is handled by removing the existent '<network>' there is no reason to generate an invalid node in the first place. Issue #5356.
This commit is contained in:
parent
0b9d3c3dcc
commit
31f9d414a3
@ -176,14 +176,6 @@ struct Sculpt::Network : Noncopyable
|
|||||||
|
|
||||||
xml.attribute("verbose", false);
|
xml.attribute("verbose", false);
|
||||||
xml.attribute("log_level", "error");
|
xml.attribute("log_level", "error");
|
||||||
|
|
||||||
xml.node("network", [&]() {
|
|
||||||
/* generate attributes to ease subsequent manual tweaking */
|
|
||||||
xml.attribute("ssid", "");
|
|
||||||
xml.attribute("protection", "NONE");
|
|
||||||
xml.attribute("passphrase", "");
|
|
||||||
xml.attribute("auto_connect", false);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
_runtime_config_generator.generate_runtime_config();
|
_runtime_config_generator.generate_runtime_config();
|
||||||
|
Loading…
Reference in New Issue
Block a user