From: Tomasz Bursztyka Date: Wed, 14 May 2014 13:10:38 +0000 (+0300) Subject: dbus: Declare GONegotiation signals properly X-Git-Tag: hostap_2_2~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc591a771c4afbac106e369fd7b8b97c15e9ab30;p=thirdparty%2Fhostap.git dbus: Declare GONegotiation signals properly These signals delivers an array of key/value pairs, thus declaring those as it should. Signed-off-by: Tomasz Bursztyka --- diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c index aab22250f..ceaf03109 100644 --- a/wpa_supplicant/dbus/dbus_new.c +++ b/wpa_supplicant/dbus/dbus_new.c @@ -1220,7 +1220,7 @@ nomem: /** * - * Method to emit GONeogtiation Success or Failure signals based + * Method to emit GONegotiation Success or Failure signals based * on status. * @status: Status of the GO neg request. 0 for success, other for errors. */ @@ -3047,12 +3047,13 @@ static const struct wpa_dbus_signal_desc wpas_dbus_interface_signals[] = { }, { "GONegotiationSuccess", WPAS_DBUS_NEW_IFACE_P2PDEVICE, { + { "properties", "a{sv}", ARG_OUT }, END_ARGS } }, { "GONegotiationFailure", WPAS_DBUS_NEW_IFACE_P2PDEVICE, { - { "status", "i", ARG_OUT }, + { "properties", "a{sv}", ARG_OUT }, END_ARGS } },