fix crypto setting in wireless config page
authorFelix Fietkau <nbd@openwrt.org>
Tue, 15 Nov 2005 21:49:53 +0000 (21:49 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 15 Nov 2005 21:49:53 +0000 (21:49 +0000)
SVN-Revision: 2508

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

index 187bacee6da05b105276b87542885621dca340e5..c276e7ae6269ffc088d3ac3725cd740251ef0370 100755 (executable)
@@ -134,6 +134,7 @@ EOF
                crypto=""
                equal "$FORM_aes" aes && crypto="aes"
                equal "$FORM_tkip" tkip && crypto="tkip${crypto:++$crypto}"
+               save_setting wireless wl0_crypto "$crypto"
 
                case "$FORM_encryption" in
                        psk)