dbus: return NULL data for peer IEs
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
This commit is contained in:
parent
ca29842700
commit
93d1749fe0
1 changed files with 4 additions and 2 deletions
|
@ -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,
|
dbus_bool_t wpas_dbus_getter_p2p_peer_ies(DBusMessageIter *iter,
|
||||||
DBusError *error, void *user_data)
|
DBusError *error, void *user_data)
|
||||||
{
|
{
|
||||||
|
dbus_bool_t success;
|
||||||
/* struct peer_handler_args *peer_args = user_data; */
|
/* struct peer_handler_args *peer_args = user_data; */
|
||||||
|
|
||||||
dbus_set_error_const(error, DBUS_ERROR_FAILED, "not implemented");
|
success = wpas_dbus_simple_array_property_getter(iter, DBUS_TYPE_BYTE,
|
||||||
return FALSE;
|
NULL, 0, error);
|
||||||
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue