From: Michael Tremer Date: Fri, 18 Aug 2017 15:51:55 +0000 (+0200) Subject: wireless: Drop support for WEP X-Git-Tag: 010~213 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;ds=sidebyside;h=eefac93dc66e8144b65c16f7b6742ae4e2e2202c;hp=54948d3c350666fc4e0a768a30c9d2b149364779;p=people%2Fms%2Fnetwork.git wireless: Drop support for WEP Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.wireless b/src/functions/functions.wireless index d12efc65..9c3ebd01 100644 --- a/src/functions/functions.wireless +++ b/src/functions/functions.wireless @@ -27,7 +27,7 @@ WIRELESS_REGULATORY_DOMAIN_DATABASE="/usr/lib/crda/regulatory.bin" WIRELESS_DEFAULT_ENCRYPTION_MODE="NONE" WIRELESS_VALID_ENCRYPTION_MODES="WPA2-PSK-SHA256 WPA2-PSK \ - WPA-PSK-SHA256 WPA-PSK WEP NONE" + WPA-PSK-SHA256 WPA-PSK NONE" cli_wireless() { local action=${1} diff --git a/src/functions/functions.wireless-networks b/src/functions/functions.wireless-networks index 0aea96c4..9835289c 100644 --- a/src/functions/functions.wireless-networks +++ b/src/functions/functions.wireless-networks @@ -388,16 +388,6 @@ wireless_network_to_wpa_supplicant() { group="CCMP TKIP WEP104 WEP40" ;; - # WEP - WEP) - auth_alg="SHARED" - wep_key0="${key}" - wep_tx_keyidx="0" - - # Reset PSK. - psk="" - ;; - # No encryption. DANGEROUS! NONE) auth_alg="OPEN" @@ -427,10 +417,6 @@ wireless_network_to_wpa_supplicant() { WPA*PSK) print_indent 1 "psk=\"${PSK}\"" ;; - WEP) - print_indent 1 "wep_key0=\"${PSK}\"" - print_indent 1 "wep_tx_keyidx=0" - ;; esac if isset EAP_MODES; then