3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

manager: Do not check deprecated use_default_interface

This commit is contained in:
Denis Kenzior 2021-06-01 10:29:42 -05:00
parent d50ee161f5
commit b9304eaf20

View File

@ -847,14 +847,8 @@ static int manager_init(void)
}
if (!l_settings_get_bool(config, "General",
"UseDefaultInterface", &use_default)) {
if (!l_settings_get_bool(config, "General",
"use_default_interface", &use_default))
use_default = false;
else
l_warn("[General].use_default_interface is deprecated"
", please use UseDefaultInterface");
}
"UseDefaultInterface", &use_default))
use_default = false;
return 0;