dbus: Export the peer's device address as a property
[mech_eap.git] / wpa_supplicant / dbus / dbus_new.c
index e431b54..a0653f0 100644 (file)
@@ -3274,6 +3274,10 @@ static const struct wpa_dbus_property_desc wpas_dbus_p2p_peer_properties[] = {
          wpas_dbus_getter_p2p_peer_ies,
          NULL
        },
+       { "DeviceAddress", WPAS_DBUS_NEW_IFACE_P2P_PEER, "ay",
+         wpas_dbus_getter_p2p_peer_device_address,
+         NULL
+       },
        { NULL, NULL, NULL, NULL, NULL }
 };