1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-29 15:59:42 +02:00

fix aes+tkip nvram setting for wl0_crypto

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1975 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2005-09-22 12:16:18 +00:00
parent 3392898700
commit cd7400daf4

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;