aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus
diff options
context:
space:
mode:
authorNishant Chaprana <n.chaprana@samsung.com>2015-09-17 12:46:03 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-25 17:54:11 (GMT)
commitfd7d3c495ee89f3115788b356533571ecf9b6df1 (patch)
treed017e90b92150b87fae9582d5779ad668fac5496 /wpa_supplicant/dbus
parentde78844b3345ff9980af1b9f2431c1d53571f87c (diff)
downloadhostap-fd7d3c495ee89f3115788b356533571ecf9b6df1.zip
hostap-fd7d3c495ee89f3115788b356533571ecf9b6df1.tar.gz
hostap-fd7d3c495ee89f3115788b356533571ecf9b6df1.tar.bz2
D-BUS: dev_passwd_id should be "q" because it uses DBUS_TYPE_UINT16
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>
Diffstat (limited to 'wpa_supplicant/dbus')
-rw-r--r--wpa_supplicant/dbus/dbus_new.c2
1 files changed, 1 insertions, 1 deletions
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
}