diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-01 22:52:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-01 22:52:05 +0000 |
commit | c85f0c7b72b926c260e16fc0035a1cb794bb9f8c (patch) | |
tree | ac98862ec78070fcddbb61912ae69688f096f24c /openwrt | |
parent | 64449714fbf99a988cb17c5cb4a0c4a34eb2481c (diff) | |
download | mtk-20170518-c85f0c7b72b926c260e16fc0035a1cb794bb9f8c.zip mtk-20170518-c85f0c7b72b926c260e16fc0035a1cb794bb9f8c.tar.gz mtk-20170518-c85f0c7b72b926c260e16fc0035a1cb794bb9f8c.tar.bz2 |
more wpa/wificonf fixes
SVN-Revision: 1311
Diffstat (limited to 'openwrt')
-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 4a5f2fc..79606a8 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/package/wificonf/wificonf.c @@ -155,7 +155,7 @@ void setup_bcom(int skfd, char *ifname) bcom_ioctl(skfd, ifname, WLC_DOWN, NULL, 0); - if (!nvram_enabled(wl_var("wep"))) { + if (nvram_match(wl_var("auth_mode"), "wpa") || nvram_match(wl_var("auth_mode"), "psk") || (nvram_get(wl_var("akm")) && !nvram_disabled(wl_var("akm")))) { /* Set up WPA */ if (nvram_match(wl_var("crypto"), "tkip")) val = TKIP_ENABLED; |