From 2a10959e7c60d4e0ddaf6661d6765dc3c68a1bc6 Mon Sep 17 00:00:00 2001 From: Jayant Sane Date: Thu, 23 Jun 2011 21:31:22 +0300 Subject: [PATCH] P2P: Fix P2P device signal level type in D-Bus Signed-off-by: Fabien Marotte Signed-off-by: Jayant Sane --- wpa_supplicant/dbus/dbus_new_handlers_p2p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c index 766418c80..e35b6c96a 100644 --- a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c +++ b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c @@ -1112,7 +1112,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",