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.cdn.openwrt.org/?a=commitdiff_plain;h=a670427454008c8d092f7e84b2e2b9eff93a4406;p=openwrt%2Fsvn-archive%2Farchive.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 61e0910f62..5feab6ee0a 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;