WPS: Improved error processing to use NACK correctly
authorJouni Malinen <j@w1.fi>
Tue, 16 Dec 2008 20:37:55 +0000 (22:37 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 16 Dec 2008 20:37:55 +0000 (22:37 +0200)
commita92c421d1a2409d0ffc63c48645ef209183a0481
treef665954100f18f93abea94298ea649f6ea8c86a1
parent64a6f69362c39e0553468b2d71f464d7bd540730
WPS: Improved error processing to use NACK correctly

Instead of sending out EAP-Failure on errors (on AP) or stopping (on
Supplicant), send a NACK message based on the allowed EAP state machine
transitions for EAP-WSC.
src/wps/wps_enrollee.c
src/wps/wps_i.h
src/wps/wps_registrar.c