diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-05 13:35:36 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-05 13:35:36 +0000 |
commit | 1d108b82ccf6c196e0787ce100e60e60bcc1d23f (patch) | |
tree | 663d2c03c2f5586df491f05f2b4b15ae8ebe8b9e /openwrt/package/wificonf | |
parent | 783a099a79057db5f83c270a2750519fed73f4db (diff) |
fix ap_isolate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2052 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/wificonf')
-rw-r--r-- | openwrt/package/wificonf/wificonf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index 491479fdcb..b3acbff692 100644 --- 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; } |