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
					Martin Schiller
				
			
				
					committed by
					
						 Christian Lamparter
						Christian Lamparter
					
				
			
			
				
	
			
			
			 Christian Lamparter
						Christian Lamparter
					
				
			
						parent
						
							6d1cca7e65
						
					
				
				
					commit
					a0ad1f36f0
				
			| @@ -154,6 +154,7 @@ _proto_mbim_setup() { | |||||||
| 	json_add_string proto "dhcpv6" | 	json_add_string proto "dhcpv6" | ||||||
| 	json_add_string extendprefix 1 | 	json_add_string extendprefix 1 | ||||||
| 	proto_add_dynamic_defaults | 	proto_add_dynamic_defaults | ||||||
|  | 	json_close_object | ||||||
| 	ubus call network add_dynamic "$(json_dump)" | 	ubus call network add_dynamic "$(json_dump)" | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user