aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2021-01-15 15:24:23 +0100
committerChristian Lamparter <chunkeey@gmail.com>2021-12-27 13:51:41 +0100
commita0ad1f36f0afe5c29dde6a66bd5d89fa4842874f (patch)
treebc0a4bde937a963155ba5cca28134bf023eb5ec9
parent6d1cca7e659a040f4db2ed042ab71eef66bb03d4 (diff)
downloadupstream-a0ad1f36f0afe5c29dde6a66bd5d89fa4842874f.tar.gz
upstream-a0ad1f36f0afe5c29dde6a66bd5d89fa4842874f.tar.bz2
upstream-a0ad1f36f0afe5c29dde6a66bd5d89fa4842874f.zip
umbim: add missing json_close_object call
Otherwise, connection setup may fail due to JSON parse error in netifd. Signed-off-by: Martin Schiller <ms@dev.tdt.de> [Updated commit description] Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
-rwxr-xr-xpackage/network/utils/umbim/files/lib/netifd/proto/mbim.sh1
1 files changed, 1 insertions, 0 deletions
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)"
}