From 44791013dd9a3e6214eb639fdcc9d12cf9072f7c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 22 Sep 2005 12:16:18 +0000 Subject: [PATCH] fix aes+tkip nvram setting for wl0_crypto SVN-Revision: 1975 --- openwrt/package/wificonf/wificonf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index 61e0910f623..5feab6ee0ad 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/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.30.2