summaryrefslogtreecommitdiff
path: root/src/nm-wifi-ap.c
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2013-09-10 14:20:52 +0200
committerJiří Klimeš <jklimes@redhat.com>2013-09-18 12:07:29 +0200
commit2e8746aab2bcf320cd87192f6c3736c98fcf06fd (patch)
treed702328194c4ef070f25f397df4cb8ee6a79d1d5 /src/nm-wifi-ap.c
parentcd00e3807e29dcc2c29a3583838aed9e2c4144a2 (diff)
downloadNetworkManager-2e8746aab2bcf320cd87192f6c3736c98fcf06fd.tar.gz
core: remove 'wep40' and 'wep104' from several places in NM
wep40 and wep104 are not valid values for 'pairwise' property and they are not used for dynamic WEP as 'group' ciphers as well. See https://bugzilla.redhat.com/show_bug.cgi?id=1005171 for some details.
Diffstat (limited to 'src/nm-wifi-ap.c')
-rw-r--r--src/nm-wifi-ap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nm-wifi-ap.c b/src/nm-wifi-ap.c
index 8c7bf40c3f..fb12754b10 100644
--- a/src/nm-wifi-ap.c
+++ b/src/nm-wifi-ap.c
@@ -336,10 +336,6 @@ pair_to_flags (const char *str)
{
g_return_val_if_fail (str != NULL, NM_802_11_AP_SEC_NONE);
- if (strcmp (str, "wep40") == 0)
- return NM_802_11_AP_SEC_PAIR_WEP40;
- if (strcmp (str, "wep104") == 0)
- return NM_802_11_AP_SEC_PAIR_WEP104;
if (strcmp (str, "tkip") == 0)
return NM_802_11_AP_SEC_PAIR_TKIP;
if (strcmp (str, "ccmp") == 0)