P2P: Fix P2P device signal level type in D-Bus

Signed-off-by: Fabien Marotte <fabienx.marotte@intel.com>
Signed-off-by: Jayant Sane <jayant.sane@intel.com>
This commit is contained in:
Jayant Sane 2011-06-23 21:31:22 +03:00 committed by Jouni Malinen
parent 6402fc438b
commit 2a10959e7c

View file

@ -1112,7 +1112,7 @@ DBusMessage *wpas_dbus_getter_p2p_peer_properties(DBusMessage * message,
if (!wpa_dbus_dict_append_uint16(&dict_iter, "config_method", if (!wpa_dbus_dict_append_uint16(&dict_iter, "config_method",
info->config_methods)) info->config_methods))
goto err_no_mem; goto err_no_mem;
if (!wpa_dbus_dict_append_uint16(&dict_iter, "level", if (!wpa_dbus_dict_append_int32(&dict_iter, "level",
info->level)) info->level))
goto err_no_mem; goto err_no_mem;
if (!wpa_dbus_dict_append_byte(&dict_iter, "devicecapability", if (!wpa_dbus_dict_append_byte(&dict_iter, "devicecapability",