summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-01-22 23:17:50 +0100
committerThomas Haller <thaller@redhat.com>2019-02-05 08:34:23 +0100
commit472f89da6b5dbd88ffd0815966dfaeb98dd8e024 (patch)
treed46de9284e706cac8af556b3812a63043d9d4224 /src/devices
parentbd590579dabd1940049822026357f45b4ab4d4af (diff)
downloadNetworkManager-472f89da6b5dbd88ffd0815966dfaeb98dd8e024.tar.gz
wifi,clients/secret-agent: use defines for property names in secret hints
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/wifi/nm-device-iwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c
index 88422eb150..5fcf6dff23 100644
--- a/src/devices/wifi/nm-device-iwd.c
+++ b/src/devices/wifi/nm-device-iwd.c
@@ -1894,7 +1894,7 @@ act_stage2_config (NMDevice *device, NMDeviceStateReason *out_failure_reason)
TRUE,
NM_SETTING_WIRELESS_SECURITY_SETTING_NAME,
NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION,
- NM_MAKE_STRV ("psk"),
+ NM_MAKE_STRV (NM_SETTING_WIRELESS_SECURITY_PSK),
act_psk_cb,
self);
nm_device_state_changed (device, NM_DEVICE_STATE_NEED_AUTH, NM_DEVICE_STATE_REASON_NONE);