aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorArdong Chen <ardongchen@atheros.com>2010-09-06 15:13:18 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-10 17:30:25 (GMT)
commit014732ea8150226e6346b777742c3a39685e8dc3 (patch)
tree96ff75b46b1547a2641b76a48a805e10c8fce5e5 /wpa_supplicant/wps_supplicant.c
parentffe98dfb88a19b66418184955ef272789e3abb68 (diff)
downloadhostap-014732ea8150226e6346b777742c3a39685e8dc3.zip
hostap-014732ea8150226e6346b777742c3a39685e8dc3.tar.gz
hostap-014732ea8150226e6346b777742c3a39685e8dc3.tar.bz2
WPS: Fix timeout event to be sent over ctrl_interface
This was supposed to be sent to external event monitors, i.e., to use wpa_msg instead of wpa_printf.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-rw-r--r--wpa_supplicant/wps_supplicant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index ef7aedc..3d9836b 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -587,8 +587,8 @@ static void wpas_clear_wps(struct wpa_supplicant *wpa_s)
static void wpas_wps_timeout(void *eloop_ctx, void *timeout_ctx)
{
struct wpa_supplicant *wpa_s = eloop_ctx;
- wpa_printf(MSG_INFO, WPS_EVENT_TIMEOUT "Requested operation timed "
- "out");
+ wpa_msg(wpa_s, MSG_INFO, WPS_EVENT_TIMEOUT "Requested operation timed "
+ "out");
wpas_clear_wps(wpa_s);
}