aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Santa Cruz <Diego.SantaCruz@spinetix.com>2020-04-07 23:33:45 +0200
committerDenis Kenzior <denkenz@gmail.com>2020-04-06 17:17:19 -0500
commit0b65fe3a95ed2501db946c7b1eea2f16f7e69699 (patch)
tree6b7d45d1d652877ef9b5f60cd456d056900bb407
parent508d71e3c1c5b25565718af33276e7d18f013dcc (diff)
downloadiwd-0b65fe3a95ed2501db946c7b1eea2f16f7e69699.tar.gz
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.
-rw-r--r--client/ad-hoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/ad-hoc.c b/client/ad-hoc.c
index 41d5e2aab..c90f9dd69 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]);