wireless: Fix wrong variable name
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 6 Sep 2015 17:08:45 +0000 (19:08 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 6 Sep 2015 17:08:45 +0000 (19:08 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/helpers/wpa_supplicant-config-helper
src/hooks/zones/wireless

index 97f15aa..a487dc7 100644 (file)
@@ -39,7 +39,7 @@ case "${action}" in
                zone_settings_read ${zone} || exit $?
 
                wpa_supplicant_config_write ${zone} ${config_file} \
-                       --mode="${ENCRYPTION}" \
+                       --mode="${ENCRYPTION_MODE}" \
                        --ssid="${SSID}" \
                        --key="${KEY}" \
                || exit $?
index 05c9a79..f0203dc 100644 (file)
@@ -21,7 +21,7 @@
 
 . /usr/lib/network/header-zone
 
-HOOK_SETTINGS="HOOK PHY MAC MTU SSID KEY ENCRYPTION"
+HOOK_SETTINGS="HOOK PHY MAC MTU SSID KEY ENCRYPTION_MODE"
 
 # Default values
 ADDRESS=$(mac_generate)