fix aes+tkip nvram setting for wl0_crypto
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 22 Sep 2005 12:16:18 +0000 (12:16 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 22 Sep 2005 12:16:18 +0000 (12:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1975 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/wificonf/wificonf.c

index 61e0910..5feab6e 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;
This page took 0.022809 seconds and 4 git commands to generate.