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:
24f71be
)
small cleanup in the wificonf watchdog
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 6 Mar 2006 23:02:22 +0000
(23:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 6 Mar 2006 23:02:22 +0000
(23:02 +0000)
SVN-Revision: 3323
openwrt/package/wificonf/wificonf.c
patch
|
blob
|
history
diff --git
a/openwrt/package/wificonf/wificonf.c
b/openwrt/package/wificonf/wificonf.c
index b24663c7cb8dbc925d82e4a1c3eecae7fa980e46..d1589567b34ab4db155fde6e8302da0ee716e068 100644
(file)
--- a/
openwrt/package/wificonf/wificonf.c
+++ b/
openwrt/package/wificonf/wificonf.c
@@
-281,7
+281,6
@@
void start_watchdog(int skfd, char *ifname)
FILE *f;
unsigned char buf[8192], wdslist[8192], wbuf[80], *v, *p, *next, *tmp;
int wds = 0, ap, i, j, restart_wds, wdstimeout;
- wlc_ssid_t ssid;
if (fork())
return;
@@
-299,9
+298,6
@@
void start_watchdog(int skfd, char *ifname)
wds++;
}
}
- v = nvram_safe_get(wl_var("ssid"));
- ssid.SSID_len = strlen(v);
- strncpy(ssid.SSID, v, 32);
/* client mode */
bcom_ioctl(skfd, ifname, WLC_GET_AP, &ap, sizeof(i));
@@
-334,7
+330,7
@@
void start_watchdog(int skfd, char *ifname)
}
if (i)
-
bcom_ioctl(skfd, ifname, WLC_SET_SSID, &ssid, sizeof(ssid)
);
+
set_wext_ssid(skfd, ifname
);
}