From 0b65fe3a95ed2501db946c7b1eea2f16f7e69699 Mon Sep 17 00:00:00 2001 From: Diego Santa Cruz Date: Tue, 7 Apr 2020 23:33:45 +0200 Subject: [PATCH] client: fix ad-hoc start_open DBus method name Doing 'ad-hoc start_open <"network name">' returned a "No matching method found" error because start_open called net.connman.iwd.AdHoc.Start instead of net.connman.iwd.AdHoc.StartOpen. --- client/ad-hoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ad-hoc.c b/client/ad-hoc.c index 41d5e2aa..c90f9dd6 100644 --- a/client/ad-hoc.c +++ b/client/ad-hoc.c @@ -189,7 +189,7 @@ static enum cmd_status cmd_start_open(const char *device_name, return CMD_STATUS_INVALID_VALUE; } - proxy_interface_method_call(adhoc_i, "Start", "s", + proxy_interface_method_call(adhoc_i, "StartOpen", "s", check_errors_method_callback, argv[0]);