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.
This commit is contained in:
Ardong Chen 2010-09-06 18:13:18 +03:00 committed by Jouni Malinen
parent ffe98dfb88
commit 014732ea81

View file

@ -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) static void wpas_wps_timeout(void *eloop_ctx, void *timeout_ctx)
{ {
struct wpa_supplicant *wpa_s = eloop_ctx; struct wpa_supplicant *wpa_s = eloop_ctx;
wpa_printf(MSG_INFO, WPS_EVENT_TIMEOUT "Requested operation timed " wpa_msg(wpa_s, MSG_INFO, WPS_EVENT_TIMEOUT "Requested operation timed "
"out"); "out");
wpas_clear_wps(wpa_s); wpas_clear_wps(wpa_s);
} }