From: nico Date: Sun, 12 Jun 2005 14:12:11 +0000 (+0000) Subject: Do not always activate WPA X-Git-Tag: fast2504n-3.10.28-merged~24740 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=dc97347cdf6a1987c40d6285e5b1674dddb9e252;p=openwrt.git Do not always activate WPA git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1218 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index eb09769e46..f96ef1524b 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/package/wificonf/wificonf.c @@ -160,6 +160,8 @@ void setup_bcom(int skfd, char *ifname) val = AES_ENABLED; else if (nvram_match(wl_var("crypto"), "tkip+aes")) val = TKIP_ENABLED | AES_ENABLED; + else + val = 0; bcom_ioctl(skfd, ifname, WLC_SET_WSEC, &val, sizeof(val)); if (val && nvram_get(wl_var("wpa_psk"))) {