diff options
author | Dan Williams <dcbw@redhat.com> | 2011-02-06 23:37:39 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-02-06 23:37:39 -0600 |
commit | 899b8a40dc707211b991419f91ea2abf1d5080ed (patch) | |
tree | de51f81c49a3b853124550a9dcc71fe764218738 /libnm-util/nm-setting-wireless-security.c | |
parent | 382cdfaf1ef186b22c4e4bb399e1190328dd9144 (diff) | |
download | NetworkManager-899b8a40dc707211b991419f91ea2abf1d5080ed.tar.gz |
libnm-util: NM_SETTING_SECRET_FLAG_SYSTEM_OWNED -> NM_SETTING_SECRET_FLAG_NONE
Make it a bit clearer that this value is not actually a value that
can be used as a flag, since its 0x00.
Diffstat (limited to 'libnm-util/nm-setting-wireless-security.c')
-rw-r--r-- | libnm-util/nm-setting-wireless-security.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libnm-util/nm-setting-wireless-security.c b/libnm-util/nm-setting-wireless-security.c index a0ffdddddd..3b4eba6f7a 100644 --- a/libnm-util/nm-setting-wireless-security.c +++ b/libnm-util/nm-setting-wireless-security.c @@ -366,7 +366,7 @@ nm_setting_wireless_security_get_psk (NMSettingWirelessSecurity *setting) NMSettingSecretFlags nm_setting_wireless_security_get_psk_flags (NMSettingWirelessSecurity *setting) { - g_return_val_if_fail (NM_IS_SETTING_WIRELESS_SECURITY (setting), NM_SETTING_SECRET_FLAG_SYSTEM_OWNED); + g_return_val_if_fail (NM_IS_SETTING_WIRELESS_SECURITY (setting), NM_SETTING_SECRET_FLAG_NONE); return NM_SETTING_WIRELESS_SECURITY_GET_PRIVATE (setting)->psk_flags; } @@ -397,7 +397,7 @@ nm_setting_wireless_security_get_leap_password (NMSettingWirelessSecurity *setti NMSettingSecretFlags nm_setting_wireless_security_get_leap_password_flags (NMSettingWirelessSecurity *setting) { - g_return_val_if_fail (NM_IS_SETTING_WIRELESS_SECURITY (setting), NM_SETTING_SECRET_FLAG_SYSTEM_OWNED); + g_return_val_if_fail (NM_IS_SETTING_WIRELESS_SECURITY (setting), NM_SETTING_SECRET_FLAG_NONE); return NM_SETTING_WIRELESS_SECURITY_GET_PRIVATE (setting)->leap_password_flags; } @@ -480,7 +480,7 @@ nm_setting_wireless_security_get_auth_alg (NMSettingWirelessSecurity *setting) NMSettingSecretFlags nm_setting_wireless_security_get_wep_key_flags (NMSettingWirelessSecurity *setting) { - g_return_val_if_fail (NM_IS_SETTING_WIRELESS_SECURITY (setting), NM_SETTING_SECRET_FLAG_SYSTEM_OWNED); + g_return_val_if_fail (NM_IS_SETTING_WIRELESS_SECURITY (setting), NM_SETTING_SECRET_FLAG_NONE); return NM_SETTING_WIRELESS_SECURITY_GET_PRIVATE (setting)->wep_key_flags; } @@ -1277,9 +1277,9 @@ nm_setting_wireless_security_class_init (NMSettingWirelessSecurityClass *setting g_param_spec_uint (NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS, "WEP Key Flags", "Flags indicating how to handle the WEP keys.", - NM_SETTING_SECRET_FLAG_SYSTEM_OWNED, + NM_SETTING_SECRET_FLAG_NONE, NM_SETTING_SECRET_FLAGS_ALL, - NM_SETTING_SECRET_FLAG_SYSTEM_OWNED, + NM_SETTING_SECRET_FLAG_NONE, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); /** @@ -1316,9 +1316,9 @@ nm_setting_wireless_security_class_init (NMSettingWirelessSecurityClass *setting g_param_spec_uint (NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS, "PSK Flags", "Flags indicating how to handle the WPA PSK key.", - NM_SETTING_SECRET_FLAG_SYSTEM_OWNED, + NM_SETTING_SECRET_FLAG_NONE, NM_SETTING_SECRET_FLAGS_ALL, - NM_SETTING_SECRET_FLAG_SYSTEM_OWNED, + NM_SETTING_SECRET_FLAG_NONE, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); /** @@ -1345,9 +1345,9 @@ nm_setting_wireless_security_class_init (NMSettingWirelessSecurityClass *setting g_param_spec_uint (NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS, "LEAP Password Flags", "Flags indicating how to handle the LEAP password.", - NM_SETTING_SECRET_FLAG_SYSTEM_OWNED, + NM_SETTING_SECRET_FLAG_NONE, NM_SETTING_SECRET_FLAGS_ALL, - NM_SETTING_SECRET_FLAG_SYSTEM_OWNED, + NM_SETTING_SECRET_FLAG_NONE, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); /** |