summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-12 14:12:11 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-12 14:12:11 +0000
commitdc97347cdf6a1987c40d6285e5b1674dddb9e252 (patch)
treee23391a1e32da3f0cd6fb3e456fc46a21c2f4f18 /openwrt
parentcb1ac97aba34b0b5f79c21d8a73e4ae1c9ca90c7 (diff)
Do not always activate WPA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1218 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/wificonf/wificonf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c
index eb09769e4..f96ef1524 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"))) {