diff options
author | Thomas Haller <thaller@redhat.com> | 2023-03-14 09:54:58 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-03-27 11:22:47 +0200 |
commit | 8a2e279ed6058c28e047e22ae89a2a43feb442e3 (patch) | |
tree | 1e38dd53cdd3bf0ccc294a73e774e734bdef1207 | |
parent | 99c375bbcef1959eed1cae4e8ddb7daf54fa4ddc (diff) | |
download | NetworkManager-8a2e279ed6058c28e047e22ae89a2a43feb442e3.tar.gz |
libnm: fix documentation for "wireless.security" property
This property only exists on D-Bus. Documenting it for ifcfg-rh makes no
sense. Drop that part.
Also reword the text about the D-Bus documentation.
-rw-r--r-- | src/libnm-core-impl/nm-setting-wireless.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/libnm-core-impl/nm-setting-wireless.c b/src/libnm-core-impl/nm-setting-wireless.c index 12c6961ecb..e2cd1f4922 100644 --- a/src/libnm-core-impl/nm-setting-wireless.c +++ b/src/libnm-core-impl/nm-setting-wireless.c @@ -1837,19 +1837,11 @@ nm_setting_wireless_class_init(NMSettingWirelessClass *klass) mac_address_randomization, .is_deprecated = TRUE, ); - /* Compatibility for deprecated property */ - /* ---ifcfg-rh--- - * property: security - * variable: (none) - * description: This property is deprecated and not handled by ifcfg-rh-plugin. - * ---end--- - */ /* ---dbus--- * property: security - * description: This property is deprecated, but can be set to the value - * '802-11-wireless-security' when a wireless security setting is also - * present in the connection dictionary, for compatibility with very old - * NetworkManager daemons. + * description: This property is deprecated and has no effect. + * For backwards compatibility, it can be set to "802-11-wireless-security" + * if the profile has a wireless security setting. * ---end--- */ _nm_properties_override_dbus( |