[PATCH 2/6] P2P: Fixed p2p device level in DBUS
Sane, Jayant
jayant.sane
Thu Jun 9 09:40:49 PDT 2011
Signed-off-by: Fabien Marotte <fabienx.marotte at intel.com>
Signed-off-by: Jayant Sane <jayant.sane at intel.com>
---
Note: This patch set applies on top of earlier submitted "DBus-add-support-for-P2P"
series of patches
wpa_supplicant/dbus/dbus_new_handlers_p2p.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
index a0fbaed..d6226a2 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
@@ -1113,7 +1113,7 @@ DBusMessage *wpas_dbus_getter_p2p_peer_properties(DBusMessage * message,
if (!wpa_dbus_dict_append_uint16(&dict_iter, "config_method",
info->config_methods))
goto err_no_mem;
- if (!wpa_dbus_dict_append_uint16(&dict_iter, "level",
+ if (!wpa_dbus_dict_append_int32(&dict_iter, "level",
info->level))
goto err_no_mem;
if (!wpa_dbus_dict_append_byte(&dict_iter, "devicecapability",
--
1.7.1
More information about the Hostap
mailing list