fix aes+tkip nvram setting for wl0_crypto
authorFelix Fietkau <nbd@openwrt.org>
Thu, 22 Sep 2005 12:16:18 +0000 (12:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 22 Sep 2005 12:16:18 +0000 (12:16 +0000)
SVN-Revision: 1975

openwrt/package/wificonf/wificonf.c

index 61e0910f623bf2e9961e77aaa4272ecef9795d99..5feab6ee0adc7597bfae92547de2e1c2f8171fae 100644 (file)
@@ -325,7 +325,7 @@ void setup_bcom(int skfd, char *ifname)
                        val = TKIP_ENABLED;
                else if (nvram_match(wl_var("crypto"), "aes"))
                        val = AES_ENABLED;
-               else if (nvram_match(wl_var("crypto"), "tkip+aes"))
+               else if (nvram_match(wl_var("crypto"), "tkip+aes") || nvram_match(wl_var("crypto"), "aes+tkip"))
                        val = TKIP_ENABLED | AES_ENABLED;
                else
                        val = 0;