3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 10:39:23 +01:00

station: Do not check deprecated enable_network_config

Enough time has passed where everyone should have had the chance to
update this to the new setting.
This commit is contained in:
Denis Kenzior 2021-06-01 10:25:43 -05:00
parent 2471d4c3cd
commit f1bc1ed4be

View File

@ -3926,15 +3926,8 @@ static int station_init(void)
if (!l_settings_get_bool(iwd_get_config(), "General",
"EnableNetworkConfiguration",
&netconfig_enabled)) {
if (l_settings_get_bool(iwd_get_config(), "General",
"enable_network_config",
&netconfig_enabled))
l_warn("[General].enable_network_config is deprecated,"
" use [General].EnableNetworkConfiguration");
else
netconfig_enabled = false;
}
if (!netconfig_enabled)
l_info("station: Network configuration is disabled.");