[PATCHv2] dev_passwd_id should be "q" because it is packed as DBUS_TYPE_UINT16

Nishant Chaprana n.chaprana
Thu Sep 17 05:46:03 PDT 2015


Description: This patch 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 is "i" which is DBUS_TYPE_INT32.

Signed-off-by: Nishant Chaprana <n.chaprana at samsung.com>
---
 wpa_supplicant/dbus/dbus_new.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index aaeabb5..f594959 100644
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -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
 	  }
-- 
1.9.1




More information about the Hostap mailing list