WPS: Fix timeout event to be sent over ctrl_interface
authorArdong Chen <ardongchen@atheros.com>
Mon, 6 Sep 2010 15:13:18 +0000 (18:13 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 10 Sep 2010 17:30:25 +0000 (10:30 -0700)
This was supposed to be sent to external event monitors, i.e., to
use wpa_msg instead of wpa_printf.

wpa_supplicant/wps_supplicant.c

index ef7aedc..3d9836b 100644 (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)
 {
        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);
 }