aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-11-13 20:40:07 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-22 19:27:54 (GMT)
commit1d44ad2ae8cdca20f5d04789ff480a13451405e5 (patch)
tree0ff9d8c16f8f58c7bb5149bb7d6245266951dee2
parent48a121464e37cc05ea58d26922d2f5cfb0cc771e (diff)
downloadhostap-06-1d44ad2ae8cdca20f5d04789ff480a13451405e5.zip
hostap-06-1d44ad2ae8cdca20f5d04789ff480a13451405e5.tar.gz
hostap-06-1d44ad2ae8cdca20f5d04789ff480a13451405e5.tar.bz2
WPS: Fix AP to proxy WSC_NACK to ER
(cherry picked from commit ed835e539b7c430241d842530de967c5de6427e0)
-rw-r--r--src/wps/wps_registrar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wps/wps_registrar.c b/src/wps/wps_registrar.c
index e6f4bcc..eafa1a9 100644
--- a/src/wps/wps_registrar.c
+++ b/src/wps/wps_registrar.c
@@ -2440,7 +2440,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)