summaryrefslogtreecommitdiffstats
path: root/openwrt/package/wificonf
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-22 12:16:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-22 12:16:18 +0000
commitcd7400daf4adb4ac6492eee2d2c9af7ef35583bb (patch)
tree860cb9eb456b85dea44836fdb4ccc83b40fefdef /openwrt/package/wificonf
parent339289870028834636080386ee5f32da8c578d6d (diff)
fix aes+tkip nvram setting for wl0_crypto
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1975 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/wificonf')
-rw-r--r--openwrt/package/wificonf/wificonf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c
index 61e0910f6..5feab6ee0 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;