projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3e216
)
restore wl0_auth functionality (fixes: #123)
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 13 Dec 2005 17:40:52 +0000
(17:40 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 13 Dec 2005 17:40:52 +0000
(17:40 +0000)
SVN-Revision: 2658
openwrt/package/wificonf/wificonf.c
patch
|
blob
|
history
diff --git
a/openwrt/package/wificonf/wificonf.c
b/openwrt/package/wificonf/wificonf.c
index f5dfabb31af650587d2f79b875c843a9329022ce..5e7b200ed721679c45ba440d9cf7dcf4c877db27 100644
(file)
--- a/
openwrt/package/wificonf/wificonf.c
+++ b/
openwrt/package/wificonf/wificonf.c
@@
-530,6
+530,11
@@
static void setup_bcom(int skfd, char *ifname)
bcom_ioctl(skfd, ifname, WLC_SET_EAP_RESTRICT, &val, sizeof(val));
bcom_set_int(skfd, ifname, "sup_wpa", 0);
}
+
+ if (v = nvram_get(wl_var("auth"))) {
+ val = atoi(v);
+ bcom_ioctl(skfd, ifname, WLC_SET_AUTH, &val, sizeof(val));
+ }
}
static void set_wext_ssid(int skfd, char *ifname)