Do not always activate WPA
SVN-Revision: 1218
This commit is contained in:
parent
28774fd601
commit
d8432f55d0
1 changed files with 2 additions and 0 deletions
|
@ -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"))) {
|
||||
|
|
Loading…
Reference in a new issue