aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new.h
diff options
context:
space:
mode:
authorJayant Sane <jayant.sane@intel.com>2011-06-25 08:47:04 (GMT)
committerJouni Malinen <j@w1.fi>2011-06-25 08:47:04 (GMT)
commit3734552f15856f3247f8bc484ffdb6d2a7d08113 (patch)
tree2e15277207b6f3d6ce0605d1f0fbff51de09f4ad /wpa_supplicant/dbus/dbus_new.h
parent28550706734a82eef1e62e688709b60f17150e11 (diff)
downloadhostap-3734552f15856f3247f8bc484ffdb6d2a7d08113.zip
hostap-3734552f15856f3247f8bc484ffdb6d2a7d08113.tar.gz
hostap-3734552f15856f3247f8bc484ffdb6d2a7d08113.tar.bz2
P2P: Add WpsFailed signal in P2P D-Bus
Signal is triggered if an error occurs during WPS provisioning phase. Signed-off-by: Jean-Michel.Bachot <jean-michelx.bachot@intel.com> Signed-off-by: Jayant Sane <jayant.sane@intel.com>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new.h')
-rw-r--r--wpa_supplicant/dbus/dbus_new.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/dbus/dbus_new.h b/wpa_supplicant/dbus/dbus_new.h
index 92cc365..3b0d50c 100644
--- a/wpa_supplicant/dbus/dbus_new.h
+++ b/wpa_supplicant/dbus/dbus_new.h
@@ -199,6 +199,8 @@ void wpas_dbus_signal_p2p_sd_response(struct wpa_supplicant *wpa_s,
const u8 *tlvs, size_t tlvs_len);
void wpas_dbus_signal_p2p_peer_joined(struct wpa_supplicant *wpa_s,
const u8 *member);
+void wpas_dbus_signal_p2p_wps_failed(struct wpa_supplicant *wpa_s,
+ struct wps_event_fail *fail);
#else /* CONFIG_CTRL_IFACE_DBUS_NEW */
@@ -434,6 +436,13 @@ wpas_dbus_signal_p2p_peer_disconnected(struct wpa_supplicant *wpa_s,
const u8 *member)
{
}
+
+static inline void
+wpas_dbus_signal_p2p_wps_failed(struct wpa_supplicant *wpa_s,
+ struct wps_event_fail *fail)
+{
+}
+
#endif /* CONFIG_CTRL_IFACE_DBUS_NEW */
#endif /* CTRL_IFACE_DBUS_H_NEW */