mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix aes+tkip nvram setting for wl0_crypto
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1975 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
edd361d17e
commit
4bc7ccda6c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user