summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-wireless.c
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-05-12 15:25:40 +0200
committerJiří Klimeš <jklimes@redhat.com>2015-05-12 15:42:51 +0200
commite07efa836f5cdb8683f8253dbd9239a0a2c8d23c (patch)
treed0ec445e1b49e2685d06b7b29c5d0ea91666b762 /libnm-core/nm-setting-wireless.c
parent0d7012faab2f69f508a13fdb41fad0a41c7fdc37 (diff)
downloadNetworkManager-e07efa836f5cdb8683f8253dbd9239a0a2c8d23c.tar.gz
libnm: add ifcfg-rh description for 802-11-wireless.powersave property
so that it is displayed in nm-settings-ifcfg-rh manual page.
Diffstat (limited to 'libnm-core/nm-setting-wireless.c')
-rw-r--r--libnm-core/nm-setting-wireless.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-wireless.c b/libnm-core/nm-setting-wireless.c
index 075af10224..5e6bb249d2 100644
--- a/libnm-core/nm-setting-wireless.c
+++ b/libnm-core/nm-setting-wireless.c
@@ -1349,6 +1349,14 @@ nm_setting_wireless_class_init (NMSettingWirelessClass *setting_class)
*
* Since: 1.2
**/
+ /* ---ifcfg-rh---
+ * property: powersave
+ * variable: POWERSAVE(+)
+ * default: no
+ * description: Enables or disables Wi-Fi power saving.
+ * example: POWERSAVE=yes
+ * ---end---
+ */
g_object_class_install_property
(object_class, PROP_POWERSAVE,
g_param_spec_uint (NM_SETTING_WIRELESS_POWERSAVE, "", "",