mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 07:01:44 +02:00
fix ap_isolate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2052 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ebf4558cba
commit
c4113a4751
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user