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

iwd: netdev: deprecate ControlPortOverNL80211

control_port_over_nl80211 should now be used instead.
This commit is contained in:
James Prestwood 2019-07-30 12:36:49 -07:00 committed by Denis Kenzior
parent e5c87a2741
commit 3f794a1f20

View File

@ -4517,11 +4517,18 @@ struct netdev *netdev_create_from_genl(struct l_genl_msg *msg, bool random_mac)
return NULL; return NULL;
} }
if (!l_settings_get_bool(settings, "General",
"control_port_over_nl80211",
&pae_over_nl80211)) {
if (!l_settings_get_bool(settings, "General", if (!l_settings_get_bool(settings, "General",
"ControlPortOverNL80211", &pae_over_nl80211)) { "ControlPortOverNL80211", &pae_over_nl80211)) {
pae_over_nl80211 = true; pae_over_nl80211 = true;
l_info("No ControlPortOverNL80211 setting, defaulting to %s", l_info("No control_port_over_nl80211 setting, "
"defaulting to %s",
pae_over_nl80211 ? "True" : "False"); pae_over_nl80211 ? "True" : "False");
} else
l_warn("ControlPortOverNL80211 is deprecated, use "
"'control_port_over_nl80211'");
} }
if (!wiphy_has_ext_feature(wiphy, if (!wiphy_has_ext_feature(wiphy,