WPS: Fix AP to proxy WSC_NACK to ER
This commit is contained in:
parent
04f5d74077
commit
ed835e539b
1 changed files with 2 additions and 1 deletions
|
@ -2666,7 +2666,8 @@ enum wps_process_res wps_registrar_process_msg(struct wps_data *wps,
|
||||||
wps_registrar_free_pending_m2(wps->wps);
|
wps_registrar_free_pending_m2(wps->wps);
|
||||||
if (wps->wps->wps_upnp && wps->ext_reg &&
|
if (wps->wps->wps_upnp && wps->ext_reg &&
|
||||||
wps->wps->upnp_msgs == NULL &&
|
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;
|
struct wps_parse_attr attr;
|
||||||
int type;
|
int type;
|
||||||
if (wps_parse_msg(msg, &attr) < 0 || attr.msg_type == NULL)
|
if (wps_parse_msg(msg, &attr) < 0 || attr.msg_type == NULL)
|
||||||
|
|
Loading…
Reference in a new issue