D-BUS: dev_passwd_id should be "q" because it uses DBUS_TYPE_UINT16
authorNishant Chaprana <n.chaprana@samsung.com>
Thu, 17 Sep 2015 12:46:03 +0000 (18:16 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 25 Sep 2015 17:54:11 +0000 (20:54 +0300)
This corrects the type of dev_passwd_id in GONegotiationRequest event.
This field is packed as DBUS_TYPE_UINT16 but in
wpas_dbus_interface_signals it was "i" which is DBUS_TYPE_INT32.

Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
doc/dbus.doxygen
wpa_supplicant/dbus/dbus_new.c

index d46e500..912bc7c 100644 (file)
@@ -1415,7 +1415,7 @@ Interface for performing P2P (Wi-Fi Peer-to-Peer) P2P Device operations.
   </li>
 
   <li>
-    <h3>GONegotiationRequest ( o : path, i : dev_passwd_id, y : device_go_intent )</h3>
+    <h3>GONegotiationRequest ( o : path, q : dev_passwd_id, y : device_go_intent )</h3>
   </li>
 
   <li>
index aaeabb5..f594959 100644 (file)
@@ -3228,7 +3228,7 @@ static const struct wpa_dbus_signal_desc wpas_dbus_interface_signals[] = {
        { "GONegotiationRequest", WPAS_DBUS_NEW_IFACE_P2PDEVICE,
          {
                  { "path", "o", ARG_OUT },
-                 { "dev_passwd_id", "i", ARG_OUT },
+                 { "dev_passwd_id", "q", ARG_OUT },
                  { "device_go_intent", "y", ARG_OUT },
                  END_ARGS
          }