summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/8021x4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/8021x b/src/8021x
index 6184da3..ce4fbf2 100644
--- a/src/8021x
+++ b/src/8021x
@@ -64,14 +64,14 @@ make_wpa_config_file() {
# Requires already loaded profile
make_wpa_config() {
case $SECURITY in
- wep)
+ wep|wep-old)
if [[ ${KEY:0:2} == "s:" ]]; then # TODO: does wpa_supplicant handle this as expected?
echo "ssid=\"$ESSID\" \nkey_mgmt=NONE \nwep_key0=\"${KEY:2}\" \nwep_tx_keyidx=0"
else
echo "ssid=\"$ESSID\" \nkey_mgmt=NONE \nwep_key0=$KEY \nwep_tx_keyidx=0"
fi
;;
- none)
+ none|none-old)
echo "ssid=\"$ESSID\" \nkey_mgmt=NONE"
;;
wpa)