projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d620bda
)
wireless: fix blob buf in put_container()
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Oct 2014 18:30:24 +0000
(20:30 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Oct 2014 18:30:24 +0000
(20:30 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c
patch
|
blob
|
history
diff --git
a/wireless.c
b/wireless.c
index 481a600e7d4e33a5cc26465bc5048c6e856e4e56..33fab451184d32cd94eaf148e49fec53cdf9af3f 100644
(file)
--- a/
wireless.c
+++ b/
wireless.c
@@
-51,9
+51,9
@@
static const struct uci_blob_param_list vif_param = {
static void
put_container(struct blob_buf *buf, struct blob_attr *attr, const char *name)
{
- void *c = blobmsg_open_table(
&b
, name);
- blob_put_raw(
&b
, blob_data(attr), blob_len(attr));
- blobmsg_close_table(
&b
, c);
+ void *c = blobmsg_open_table(
buf
, name);
+ blob_put_raw(
buf
, blob_data(attr), blob_len(attr));
+ blobmsg_close_table(
buf
, c);
}
static void