summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/wificonf/wificonf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wificonf/wificonf.c b/package/wificonf/wificonf.c
index 61e0910f6..5feab6ee0 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;