aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-10-24 16:03:04 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-30 10:04:24 (GMT)
commita9022616ae66d32c2d962261c9bb603511743cf9 (patch)
tree85a96e93b7a7e2d0caa90a0eda5f80d2873ced4a /wpa_supplicant/notify.c
parent9ef1aaae24f5587830248cb2b03abf5f3c491123 (diff)
downloadhostap-a9022616ae66d32c2d962261c9bb603511743cf9.zip
hostap-a9022616ae66d32c2d962261c9bb603511743cf9.tar.gz
hostap-a9022616ae66d32c2d962261c9bb603511743cf9.tar.bz2
dbus: Implement EAP SM control request signals
Add a D-Bus signal for EAP SM requests. This signal is emitted on the Interface object so that clients only have to listen to one object for requests rather than to all network objects. This signal is analogous to the socket control interface's CTRL-REQ- request. Signed-off-by: Dan Williams <dcbw@redhat.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r--wpa_supplicant/notify.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index 75b9acf..cf82346 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -141,6 +141,15 @@ void wpas_notify_network_selected(struct wpa_supplicant *wpa_s,
}
+void wpas_notify_network_request(struct wpa_supplicant *wpa_s,
+ struct wpa_ssid *ssid,
+ enum wpa_ctrl_req_type rtype,
+ const char *default_txt)
+{
+ wpas_dbus_signal_network_request(wpa_s, ssid, rtype, default_txt);
+}
+
+
void wpas_notify_scanning(struct wpa_supplicant *wpa_s)
{
/* notify the old DBus API */