]> git.ipfire.org Git - people/stevee/network.git/commitdiff
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 97f15aa70680ca7a308db326ed68cc8bfb6860e6..a487dc731c1f8c88d55b27ff45c50d1a67caacfa 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 05c9a797ed7ce10b674e1c653741ef27f16a6044..f0203dc4405e60c40ba24a7127dd12bb3b38fff3 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)