projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2605e4c
)
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)
SVN-Revision: 2052
openwrt/package/wificonf/wificonf.c
patch
|
blob
|
history
diff --git
a/openwrt/package/wificonf/wificonf.c
b/openwrt/package/wificonf/wificonf.c
index 491479fdcb4cdac97b908d5a781c058df4bfaeaf..b3acbff6926884e5391b13594cad26326406b7a7 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;
}