From: Felix Fietkau Date: Thu, 22 Sep 2005 12:16:18 +0000 (+0000) Subject: fix aes+tkip nvram setting for wl0_crypto X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=44791013dd9a3e6214eb639fdcc9d12cf9072f7c;p=openwrt%2Fstaging%2Frmilecki.git fix aes+tkip nvram setting for wl0_crypto SVN-Revision: 1975 --- 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;