summaryrefslogtreecommitdiffstats
path: root/src/connections/wireless
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-03-27 17:24:56 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-03-27 17:24:56 +0200
commit7223c92b843fc232ebe687cb806051ceab31bfff (patch)
tree56665a4dda0e16d799cb0abd572c11400605cac4 /src/connections/wireless
parent7baf52dfc5e0e70cc8566d693d010465535b1886 (diff)
downloadnetctl-7223c92b843fc232ebe687cb806051ceab31bfff.tar.gz
netctl-7223c92b843fc232ebe687cb806051ceab31bfff.tar.xz
Remove more deprecated code
No need to keep support the "-old" syntax when it doesn't really do anything.
Diffstat (limited to 'src/connections/wireless')
-rw-r--r--src/connections/wireless4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/connections/wireless b/src/connections/wireless
index 7abb180..a5b7ad2 100644
--- a/src/connections/wireless
+++ b/src/connections/wireless
@@ -10,10 +10,6 @@ wireless_up() {
# Default settings
SECURITY=${SECURITY:-none}
- if [[ "$SECURITY" != "${SECURITY%-old}" ]]; then
- report_warn "SECURITY=none-old, wep-old are deprecated, please use none, wep instead!"
- SECURITY=${SECURITY%-old}
- fi
WPA_DRIVER=${WPA_DRIVER:-nl80211,wext}
enable_rf $INTERFACE $RFKILL $RFKILL_NAME || return 1