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.
This commit is contained in:
Diego Santa Cruz 2020-04-07 23:33:45 +02:00 committed by Denis Kenzior
parent 508d71e3c1
commit 0b65fe3a95
1 changed files with 1 additions and 1 deletions

View File

@ -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]);