From: Jouni Malinen Date: Fri, 13 Nov 2009 20:40:07 +0000 (+0200) Subject: WPS: Fix AP to proxy WSC_NACK to ER X-Git-Tag: hostap_0_7_0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed835e539b7c430241d842530de967c5de6427e0;p=thirdparty%2Fhostap.git WPS: Fix AP to proxy WSC_NACK to ER --- diff --git a/src/wps/wps_registrar.c b/src/wps/wps_registrar.c index 37a506cad..bf8c6f8a5 100644 --- a/src/wps/wps_registrar.c +++ b/src/wps/wps_registrar.c @@ -2666,7 +2666,8 @@ enum wps_process_res wps_registrar_process_msg(struct wps_data *wps, wps_registrar_free_pending_m2(wps->wps); if (wps->wps->wps_upnp && wps->ext_reg && wps->wps->upnp_msgs == NULL && - (op_code == WSC_MSG || op_code == WSC_Done)) { + (op_code == WSC_MSG || op_code == WSC_Done || op_code == WSC_NACK)) + { struct wps_parse_attr attr; int type; if (wps_parse_msg(msg, &attr) < 0 || attr.msg_type == NULL)