From: Jouni Malinen Date: Thu, 23 Sep 2010 02:19:33 +0000 (-0700) Subject: WPS ER: Fix debug message for protocol run done case X-Git-Url: http://www.project-moonshot.org/gitweb/?p=libeap.git;a=commitdiff_plain;h=2d5e0d78e98a8209a53ee8f5539fef751fc23adc WPS ER: Fix debug message for protocol run done case This is not a failure and should not be indicated as such in the debug log. --- diff --git a/src/wps/wps_er.c b/src/wps/wps_er.c index d51d53b..4726e52 100644 --- a/src/wps/wps_er.c +++ b/src/wps/wps_er.c @@ -1563,6 +1563,10 @@ static void wps_er_ap_process(struct wps_er_ap *ap, struct wpabuf *msg) wps_deinit(ap->wps); ap->wps = NULL; } + } else if (res == WPS_DONE) { + wpa_printf(MSG_DEBUG, "WPS ER: Protocol run done"); + wps_deinit(ap->wps); + ap->wps = NULL; } else { wpa_printf(MSG_DEBUG, "WPS ER: Failed to process message from " "AP (res=%d)", res);