1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-06 11:11:20 +02:00

fix aes+tkip nvram setting for wl0_crypto

SVN-Revision: 1975
This commit is contained in:
Felix Fietkau 2005-09-22 12:16:18 +00:00
parent 419058b3d2
commit 44791013dd

@ -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;