diff mbox

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

Message ID 1442493963-4920-1-git-send-email-n.chaprana@samsung.com
State Accepted
Headers show

Commit Message

Nishant Chaprana Sept. 17, 2015, 12:46 p.m. UTC
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@samsung.com>
---
 wpa_supplicant/dbus/dbus_new.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jouni Malinen Sept. 25, 2015, 6:53 p.m. UTC | #1
On Thu, Sep 17, 2015 at 06:16:03PM +0530, Nishant Chaprana wrote:
> 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.

Thanks, applied.
diff mbox

Patch

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
 	  }