diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-09-22 12:16:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-09-22 12:16:18 +0000 |
commit | 4bc7ccda6c40c2ed85d9492f681965aef8471cc9 (patch) | |
tree | 6f4baf9b4abcd5e5c146a49b96c88bdec65202a8 /package/wificonf | |
parent | edd361d17e04b2bee6adede3bbe647ab45ef33af (diff) | |
download | upstream-4bc7ccda6c40c2ed85d9492f681965aef8471cc9.tar.gz upstream-4bc7ccda6c40c2ed85d9492f681965aef8471cc9.tar.bz2 upstream-4bc7ccda6c40c2ed85d9492f681965aef8471cc9.zip |
fix aes+tkip nvram setting for wl0_crypto
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1975 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wificonf')
-rw-r--r-- | package/wificonf/wificonf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wificonf/wificonf.c b/package/wificonf/wificonf.c index 61e0910f62..5feab6ee0a 100644 --- a/package/wificonf/wificonf.c +++ b/package/wificonf/wificonf.c @@ -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; |