mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
more wpa/wificonf fixes
SVN-Revision: 1311
This commit is contained in:
parent
64449714fb
commit
c85f0c7b72
@ -155,7 +155,7 @@ void setup_bcom(int skfd, char *ifname)
|
|||||||
|
|
||||||
bcom_ioctl(skfd, ifname, WLC_DOWN, NULL, 0);
|
bcom_ioctl(skfd, ifname, WLC_DOWN, NULL, 0);
|
||||||
|
|
||||||
if (!nvram_enabled(wl_var("wep"))) {
|
if (nvram_match(wl_var("auth_mode"), "wpa") || nvram_match(wl_var("auth_mode"), "psk") || (nvram_get(wl_var("akm")) && !nvram_disabled(wl_var("akm")))) {
|
||||||
/* Set up WPA */
|
/* Set up WPA */
|
||||||
if (nvram_match(wl_var("crypto"), "tkip"))
|
if (nvram_match(wl_var("crypto"), "tkip"))
|
||||||
val = TKIP_ENABLED;
|
val = TKIP_ENABLED;
|
||||||
|
Loading…
Reference in New Issue
Block a user