summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ca29842)
raw | patch | inline | side by side (parent: ca29842)
author | Reinette Chatre <reinette.chatre@intel.com> | |
Sat, 25 Feb 2012 08:54:11 +0000 (10:54 +0200) | ||
committer | Jouni Malinen <j@w1.fi> | |
Sat, 25 Feb 2012 08:54:11 +0000 (10:54 +0200) |
The org.freedesktop.DBus.Properties interface is now supported for peer
properties. Ensure that GetAll will work by having the IEs property
function return NULL data instead of a failure until it is implemented.
Signed-hostap: Reinette Chatre <reinette.chatre@intel.com>
intended-for: hostap-1
properties. Ensure that GetAll will work by having the IEs property
function return NULL data instead of a failure until it is implemented.
Signed-hostap: Reinette Chatre <reinette.chatre@intel.com>
intended-for: hostap-1
wpa_supplicant/dbus/dbus_new_handlers_p2p.c | patch | blob | history |
diff --git a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
index 8036b63a02f085416e048f8f7e97e916886ee3af..dbf61bd5dbf192f1c00e77813307cf9dfd4fa19b 100644 (file)
@@ -1465,10 +1465,12 @@ dbus_bool_t wpas_dbus_getter_p2p_peer_vendor_extension(DBusMessageIter *iter,
dbus_bool_t wpas_dbus_getter_p2p_peer_ies(DBusMessageIter *iter,
DBusError *error, void *user_data)
{
+ dbus_bool_t success;
/* struct peer_handler_args *peer_args = user_data; */
- dbus_set_error_const(error, DBUS_ERROR_FAILED, "not implemented");
- return FALSE;
+ success = wpas_dbus_simple_array_property_getter(iter, DBUS_TYPE_BYTE,
+ NULL, 0, error);
+ return success;
}