fix typo
authorFelix Fietkau <nbd@openwrt.org>
Mon, 10 Oct 2005 10:40:28 +0000 (10:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 10 Oct 2005 10:40:28 +0000 (10:40 +0000)
SVN-Revision: 2093

openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh

index fd3d726d6dae9c3f6a9783ede817ad60f877db8a..0ee96be9e17d11ccfe4a8a1735a37a6d262d01cd 100755 (executable)
@@ -81,11 +81,11 @@ if empty "$FORM_submit"; then
                        FORM_tkip=tkip
                        ;;
        esac
-       equal "$FORM_encryption" off && {
+       equal "$FORM_encryption" "off" && {
                wep=${wl0_wep:-$(nvram get wl0_wep)}
                case "$wep" in
                        1|enabled|on) FORM_encryption=wep;;
-                       *) FORM_encryption=disabled;;
+                       *) FORM_encryption=off;;
                esac
        }
        FORM_key1=${wl0_key1:-$(nvram get wl0_key1)}