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:
parent
ffe98dfb88
commit
014732ea81
1 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,7 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue