commit 0b65fe3a95ed2501db946c7b1eea2f16f7e69699
parent 508d71e3c1c5b25565718af33276e7d18f013dcc
Author: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Date: Tue, 7 Apr 2020 23:33:45 +0200
client: fix ad-hoc start_open DBus method name
Doing 'ad-hoc <wlan> 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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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]);