projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8965a7
)
fix ap_isolate
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2005 13:35:36 +0000
(13:35 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2005 13:35:36 +0000
(13:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2052
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
openwrt/package/wificonf/wificonf.c
patch
|
blob
|
history
diff --git
a/openwrt/package/wificonf/wificonf.c
b/openwrt/package/wificonf/wificonf.c
index
491479f
..
b3acbff
100644
(file)
--- a/
openwrt/package/wificonf/wificonf.c
+++ b/
openwrt/package/wificonf/wificonf.c
@@
-126,11
+126,11
@@
int bcom_set_val(int skfd, char *ifname, char *var, void *val, int len)
return -1;
strcpy(buf, var);
+ memcpy(&buf[strlen(var) + 1], val, len);
if ((ret = bcom_ioctl(skfd, ifname, WLC_SET_VAR, buf, sizeof(buf))))
return ret;
- memcpy(val, buf, len);
return 0;
}