mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
iwd: netdev: deprecate ControlPortOverNL80211
control_port_over_nl80211 should now be used instead.
This commit is contained in:
parent
e5c87a2741
commit
3f794a1f20
15
src/netdev.c
15
src/netdev.c
@ -4518,10 +4518,17 @@ struct netdev *netdev_create_from_genl(struct l_genl_msg *msg, bool random_mac)
|
||||
}
|
||||
|
||||
if (!l_settings_get_bool(settings, "General",
|
||||
"ControlPortOverNL80211", &pae_over_nl80211)) {
|
||||
pae_over_nl80211 = true;
|
||||
l_info("No ControlPortOverNL80211 setting, defaulting to %s",
|
||||
pae_over_nl80211 ? "True" : "False");
|
||||
"control_port_over_nl80211",
|
||||
&pae_over_nl80211)) {
|
||||
if (!l_settings_get_bool(settings, "General",
|
||||
"ControlPortOverNL80211", &pae_over_nl80211)) {
|
||||
pae_over_nl80211 = true;
|
||||
l_info("No control_port_over_nl80211 setting, "
|
||||
"defaulting to %s",
|
||||
pae_over_nl80211 ? "True" : "False");
|
||||
} else
|
||||
l_warn("ControlPortOverNL80211 is deprecated, use "
|
||||
"'control_port_over_nl80211'");
|
||||
}
|
||||
|
||||
if (!wiphy_has_ext_feature(wiphy,
|
||||
|
Loading…
Reference in New Issue
Block a user