summaryrefslogtreecommitdiffstats
path: root/src/lib/8021x
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/8021x')
-rw-r--r--src/lib/8021x12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/8021x b/src/lib/8021x
index 1cd4343..fa23dd3 100644
--- a/src/lib/8021x
+++ b/src/lib/8021x
@@ -200,27 +200,27 @@ wpa_make_config_block() {
echo "ssid=$(wpa_quote "$ESSID")"
[[ $AP ]] && echo "bssid=${AP,,}"
is_yes "${AdHoc:-no}" && echo "mode=1"
- ;;
+ ;;
wpa-configsection)
printf "%s\n" "${WPAConfigSection[@]}"
return
- ;;
+ ;;
*)
report_error "Unsupported security setting: '$Security'"
return 1
- ;;
+ ;;
esac
# Key management
case $Security in
none)
echo "key_mgmt=NONE"
- ;;
+ ;;
wep)
echo "key_mgmt=NONE"
echo "wep_tx_keyidx=0"
echo "wep_key0=$(wpa_quote "$Key")"
- ;;
+ ;;
wpa)
echo "proto=RSN WPA"
if [[ "${#Key}" -eq 64 ]]; then
@@ -228,7 +228,7 @@ wpa_make_config_block() {
else
echo "psk=$(wpa_quote "$Key")"
fi
- ;;
+ ;;
esac
# Hidden SSID