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>
This commit is contained in:
Martin Schiller 2021-01-15 15:24:23 +01:00 committed by Christian Lamparter
parent 6d1cca7e65
commit a0ad1f36f0

View File

@ -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)"
}