fix aes+tkip nvram setting for wl0_crypto

SVN-Revision: 1975
lede-17.01
Felix Fietkau 2005-09-22 12:16:18 +00:00
parent 419058b3d2
commit 44791013dd
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ void setup_bcom(int skfd, char *ifname)
val = TKIP_ENABLED; val = TKIP_ENABLED;
else if (nvram_match(wl_var("crypto"), "aes")) else if (nvram_match(wl_var("crypto"), "aes"))
val = AES_ENABLED; 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; val = TKIP_ENABLED | AES_ENABLED;
else else
val = 0; val = 0;