Hi all,<br>  I have a question on current WPS code in wpa_supplicant. In src/wps/wps_registrar.c Function: wps_process_m7...see foll. piece of code.<br><br>    if (wps_parse_msg(decrypted, &amp;eattr) &lt; 0 ||<br>        wps_process_key_wrap_auth(wps, decrypted, eattr.key_wrap_auth) ||<br>

        wps_process_e_snonce2(wps, eattr.e_snonce2) ||<br>        wps_process_ap_settings_r(wps, &amp;eattr)) {<br>        wpabuf_free(decrypted);<br>        wps-&gt;state = SEND_WSC_NACK;<br>        return WPS_CONTINUE;<br>

    }<br><br>Function wps_process_ap_settings_r returns non-zero value, if STA does not want to re-configure AP. In this case, STA responds to AP by sending WSC_NACK message.<br>But, as per WSC 2.0 specification,  WSC_NACK is to be sent to indicate a authenticating or processing error. Is sending WSC_NACK ok in this case?<br>

<br>Thanks<br>- Kiran<br>