mirror of https://github.com/hak5/openwrt-owl.git
parent
419058b3d2
commit
44791013dd
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue