WPS: Fix failure path to allow WSC_NACK and EAP-Failure to be exchanged
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 23 Aug 2013 14:43:01 +0000 (17:43 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 23 Aug 2013 14:49:01 +0000 (17:49 +0300)
commit2e145e91e7b83b7bef9e513bd57c121a62f2e15d
tree4c3296ed3590b8736bcbbfc99340750fd54745cd
parent3351a3847c6630285052c0c039e54f71caf5b82a
WPS: Fix failure path to allow WSC_NACK and EAP-Failure to be exchanged

Commit c7a67a77195464d667d6f482777a75325b6f3642 forced disconnection
when wpas_clear_wps() is called. Call this function from a registered
timeout when processing a failure event in order to allow the WPS
handshake to be completed with WSC_NACK and EAP-Failure.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wps_supplicant.c