From e882dc816daf95f2b484c9e53fb9ab4e3cdc7516 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 22 Sep 2005 12:16:18 +0000 Subject: [PATCH] fix aes+tkip nvram setting for wl0_crypto git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1975 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/wificonf/wificonf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/wificonf/wificonf.c b/package/wificonf/wificonf.c index 61e0910f62..5feab6ee0a 100644 --- a/package/wificonf/wificonf.c +++ b/package/wificonf/wificonf.c @@ -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; -- 2.11.0