mirror of https://github.com/hak5/openwrt-owl.git
parent
8523556e0f
commit
b26cccd5b6
|
@ -155,6 +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"))) {
|
||||||
/* 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;
|
||||||
|
@ -170,6 +171,7 @@ void setup_bcom(int skfd, char *ifname)
|
||||||
val = 1;
|
val = 1;
|
||||||
bcom_ioctl(skfd, ifname, WLC_SET_EAP_RESTRICT, &val, sizeof(val));
|
bcom_ioctl(skfd, ifname, WLC_SET_EAP_RESTRICT, &val, sizeof(val));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Set up afterburner */
|
/* Set up afterburner */
|
||||||
val = ABO_AUTO;
|
val = ABO_AUTO;
|
||||||
|
|
Loading…
Reference in New Issue