projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more wpa/wificonf fixes
[openwrt.git]
/
openwrt
/
package
/
wificonf
/
wificonf.c
diff --git
a/openwrt/package/wificonf/wificonf.c
b/openwrt/package/wificonf/wificonf.c
index
4a5f2fc
..
79606a8
100644
(file)
--- a/
openwrt/package/wificonf/wificonf.c
+++ b/
openwrt/package/wificonf/wificonf.c
@@
-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 */
if (nvram_match(wl_var("crypto"), "tkip"))
val = TKIP_ENABLED;
/* Set up WPA */
if (nvram_match(wl_var("crypto"), "tkip"))
val = TKIP_ENABLED;
This page took
0.022733 seconds
and
4
git commands to generate.