diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-04 20:30:24 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-04 20:30:24 +0200 |
commit | 26cb3b2a0aebb1b9dc07daf7b54bd8400d6d659b (patch) | |
tree | 2e00336d1af5d36bdafbebfdeae4ba8f5a78c68b | |
parent | d620bdae7081eafce2a4b3e6da0aa2116d71fbc8 (diff) |
wireless: fix blob buf in put_container()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | wireless.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |