mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 15:59:42 +02:00
don't enable wpa if wep is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1289 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8f8ea3a76e
commit
2c67854daa
@ -155,6 +155,7 @@ void setup_bcom(int skfd, char *ifname)
|
||||
|
||||
bcom_ioctl(skfd, ifname, WLC_DOWN, NULL, 0);
|
||||
|
||||
if (!nvram_enabled(wl_var("wep"))) {
|
||||
/* Set up WPA */
|
||||
if (nvram_match(wl_var("crypto"), "tkip"))
|
||||
val = TKIP_ENABLED;
|
||||
@ -170,6 +171,7 @@ void setup_bcom(int skfd, char *ifname)
|
||||
val = 1;
|
||||
bcom_ioctl(skfd, ifname, WLC_SET_EAP_RESTRICT, &val, sizeof(val));
|
||||
}
|
||||
}
|
||||
|
||||
/* Set up afterburner */
|
||||
val = ABO_AUTO;
|
||||
|
Loading…
Reference in New Issue
Block a user