WPS: Use WSC_NACK if no device password is known on M2 RX
authorJouni Malinen <j@w1.fi>
Tue, 24 Aug 2010 09:56:11 +0000 (12:56 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 24 Aug 2010 09:56:11 +0000 (12:56 +0300)
commit035cc69d980d2e4bdd6e1d1260648f1033194655
tree7c981d9cadf24bc8080fd5532d4f959f8ddd6a59
parent509a39727f533a5592a5a899b0096f268e7e502a
WPS: Use WSC_NACK if no device password is known on M2 RX

This can happen on the AP if the AP PIN is not configured and
the client tries to go through the protocol instead of just using
Registrar mode to receive M1 from the AP. It is cleaner to send
out the WSC_NACK instead of just stopping the protocol.
src/wps/wps_enrollee.c