[PATCH] dbus: Making the peer's properties acessible separately
Jouni Malinen
j
Sat Feb 11 01:43:01 PST 2012
On Fri, Feb 03, 2012 at 06:52:18PM -0200, Fl?vio Ceolin wrote:
> How there is the method org.freedesktop.DBus.Properties.GetAll
> that returns all properties from a specific interface, makes more
> sense separate the properties to be possible to get only a specific
> property using the method org.freedesktop.DBus.Properties.Get.
Thanks! Applied.
> diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
> static const struct wpa_dbus_property_desc wpas_dbus_p2p_peer_properties[] = {
> + {"config_method", WPAS_DBUS_NEW_IFACE_P2P_PEER, "n",
> + {"level", WPAS_DBUS_NEW_IFACE_P2P_PEER, "au",
> + {"SecondaryDeviceTypes", WPAS_DBUS_NEW_IFACE_P2P_PEER, "au",
There were incorrect D-Bus types in the introspect information. I tried
to correct these (and one type in the handler functions, too). Please
verify that the end result matches with what you would like to see
there.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list