Просмотр исходного кода

umbim: add missing json_close_object call

Otherwise, connection setup may fail due to JSON parse error in netifd.

Signed-off-by: Martin Schiller <[email protected]>
[Updated commit description]
Signed-off-by: Lech Perczak <[email protected]>
Martin Schiller 5 лет назад
Родитель
Сommit
a0ad1f36f0
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      package/network/utils/umbim/files/lib/netifd/proto/mbim.sh

+ 1 - 0
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)"
 }