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 | 44791013dd9a3e6214eb639fdcc9d12cf9072f7c (patch) | |
tree | 860cb9eb456b85dea44836fdb4ccc83b40fefdef /openwrt/package/wificonf/wificonf.c | |
parent | 419058b3d2e03108be98ae1a9c4bfbf9e74b8402 (diff) | |
download | mtk-20170518-44791013dd9a3e6214eb639fdcc9d12cf9072f7c.zip mtk-20170518-44791013dd9a3e6214eb639fdcc9d12cf9072f7c.tar.gz mtk-20170518-44791013dd9a3e6214eb639fdcc9d12cf9072f7c.tar.bz2 |
fix aes+tkip nvram setting for wl0_crypto
SVN-Revision: 1975
Diffstat (limited to 'openwrt/package/wificonf/wificonf.c')
-rw-r--r-- | openwrt/package/wificonf/wificonf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index 61e0910..5feab6e 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/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; |