summaryrefslogtreecommitdiff
path: root/src/settings/plugins/ifcfg-rh/writer.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-09-24 16:05:47 -0500
committerDan Williams <dcbw@redhat.com>2012-09-24 16:05:47 -0500
commit04a45a57d4dcd378791d3db2618095b0ba0d37d3 (patch)
tree320fe2ce33b6fb9ee8aefa6c69fcd8a4a10684f6 /src/settings/plugins/ifcfg-rh/writer.c
parent6d5c5f936d869c28e23ad7a45defbab5e74b8363 (diff)
downloadNetworkManager-dcbw/rsn-ibss.tar.gz
Diffstat (limited to 'src/settings/plugins/ifcfg-rh/writer.c')
-rw-r--r--src/settings/plugins/ifcfg-rh/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/plugins/ifcfg-rh/writer.c b/src/settings/plugins/ifcfg-rh/writer.c
index 26a1585b04..e4e719d276 100644
--- a/src/settings/plugins/ifcfg-rh/writer.c
+++ b/src/settings/plugins/ifcfg-rh/writer.c
@@ -592,7 +592,7 @@ write_wireless_security_setting (NMConnection *connection,
svSetValue (ifcfg, "KEY_MGMT", NULL, FALSE);
wep = TRUE;
*no_8021x = TRUE;
- } else if (!strcmp (key_mgmt, "wpa-none") || !strcmp (key_mgmt, "wpa-psk")) {
+ } else if (!strcmp (key_mgmt, "wpa-psk")) {
svSetValue (ifcfg, "KEY_MGMT", "WPA-PSK", FALSE);
wpa = TRUE;
*no_8021x = TRUE;