]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dbus: Declare properly ServiceDiscoveryRequest method
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fri, 21 Mar 2014 11:48:06 +0000 (13:48 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 21 Mar 2014 21:36:50 +0000 (23:36 +0200)
It does return something: the reference of the request, as an integer,
which can be used then with ServiceDiscoveryCancelRequest to get
canceled.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
wpa_supplicant/dbus/dbus_new.c

index a1e2c0936113d10abf9f4af882ecf529e30bf2d3..e431b545fa97203085ca41919e59ae6faff18f10 100644 (file)
@@ -2649,6 +2649,7 @@ static const struct wpa_dbus_method_desc wpas_dbus_interface_methods[] = {
          (WPADBusMethodHandler)wpas_dbus_handler_p2p_service_sd_req,
          {
                  { "args", "a{sv}", ARG_IN },
+                 { "ref", "t", ARG_OUT },
                  END_ARGS
          }
        },