]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
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 d46e500167537f79342367d50d09f4aea8b28e17..912bc7cd2a0e898797ff88cd2b270b4db9b6cc9b 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 aaeabb5b2637723a27a1ffdff3aa413186403362..f594959e68205a56a9b91412053927305cb78e94 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
          }