blobmsg: fix blobmsg_parse_array, drop name field requirement
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
4b5f278195
commit
1ec5b85848
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ int blobmsg_parse_array(const struct blobmsg_policy *policy, int policy_len,
|
|||
blob_id(attr) != policy[i].type)
|
||||
continue;
|
||||
|
||||
if (!blobmsg_check_attr(attr, true))
|
||||
if (!blobmsg_check_attr(attr, false))
|
||||
return -1;
|
||||
|
||||
if (tb[i])
|
||||
|
|
Loading…
Reference in a new issue