diff options
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | 2020-04-07 23:33:45 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2020-04-06 17:17:19 -0500 |
commit | 0b65fe3a95ed2501db946c7b1eea2f16f7e69699 (patch) | |
tree | 6b7d45d1d652877ef9b5f60cd456d056900bb407 | |
parent | 508d71e3c1c5b25565718af33276e7d18f013dcc (diff) | |
download | iwd-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.c | 2 |
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]); |