X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/41aad28b1eaa8806eb2d22f1010077933574803f..106201c1f26e92f6e5ec059f02f79dcf59cc9b95:/openwrt/package/wificonf/wificonf.c?ds=inline 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"))) {