From: Martin Schiller Date: Fri, 15 Jan 2021 14:24:23 +0000 (+0100) Subject: umbim: add missing json_close_object call X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a0ad1f36f0afe5c29dde6a66bd5d89fa4842874f;p=openwrt%2Fstaging%2Fsvanheule.git umbim: add missing json_close_object call Otherwise, connection setup may fail due to JSON parse error in netifd. Signed-off-by: Martin Schiller [Updated commit description] Signed-off-by: Lech Perczak --- diff --git a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh index a33759cd6d..3fa411c6c6 100755 --- a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh +++ b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh @@ -154,6 +154,7 @@ _proto_mbim_setup() { json_add_string proto "dhcpv6" json_add_string extendprefix 1 proto_add_dynamic_defaults + json_close_object ubus call network add_dynamic "$(json_dump)" }