From a0ad1f36f0afe5c29dde6a66bd5d89fa4842874f Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Fri, 15 Jan 2021 15:24:23 +0100 Subject: [PATCH] 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 --- package/network/utils/umbim/files/lib/netifd/proto/mbim.sh | 1 + 1 file changed, 1 insertion(+) 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)" } -- 2.30.2