diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-06-12 14:12:11 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-06-12 14:12:11 +0000 |
commit | 2239e4dab21c8b4aea4155e7f89877de2be9e1f1 (patch) | |
tree | 06775e5f82a1ce46694650391183b7d04f5c83d0 /package/wificonf/wificonf.c | |
parent | 57d4ae14237a760d0b66de29b4c7121c20da03de (diff) | |
download | master-187ad058-2239e4dab21c8b4aea4155e7f89877de2be9e1f1.tar.gz master-187ad058-2239e4dab21c8b4aea4155e7f89877de2be9e1f1.tar.bz2 master-187ad058-2239e4dab21c8b4aea4155e7f89877de2be9e1f1.zip |
Do not always activate WPA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1218 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wificonf/wificonf.c')
-rw-r--r-- | package/wificonf/wificonf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/wificonf/wificonf.c b/package/wificonf/wificonf.c index eb09769e46..f96ef1524b 100644 --- a/package/wificonf/wificonf.c +++ b/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"))) { |