summaryrefslogtreecommitdiffstats
path: root/src/lib/8021x
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-01-03 16:16:25 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-01-03 16:16:25 +0100
commit6539dfe0df5c19e8acb8fe251b46098a25719cbc (patch)
tree72a2e189ca588b4d3878db73cb7171063287d35e /src/lib/8021x
parentfafa6603f87d68fd6b30dcfd4600cb1006e02a9e (diff)
downloadnetctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.gz
netctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.xz
Indentation fixes
This settles a style for 'case' statements: The label and closing colons are indented with two spaces, The body is indented with two more, totalling four spaces.
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