aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-01-29 16:47:02 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-08 10:25:58 (GMT)
commit784a4c6ee9a6aa964157cf0d3f7906dda8797e5a (patch)
tree5dac24c10c3c31bbc077274c46ffbf71d21c6666 /src/eap_peer
parent60e671b3271eaae19eceabf03ada4fce7b8e2da5 (diff)
downloadhostap-06-784a4c6ee9a6aa964157cf0d3f7906dda8797e5a.zip
hostap-06-784a4c6ee9a6aa964157cf0d3f7906dda8797e5a.tar.gz
hostap-06-784a4c6ee9a6aa964157cf0d3f7906dda8797e5a.tar.bz2
WPS: Add support for external Registrars using UPnP transport
This adds mostly feature complete external Registrar support with the main missing part being proper support for multiple external Registrars working at the same time and processing of concurrent registrations when using an external Registrar. This code is based on Sony/Saice implementation (https://www.saice-wpsnfc.bz/) and the changes made by Ted Merrill (Atheros) to make it more suitable for hostapd design and embedded systems. Some of the UPnP code is based on Intel's libupnp. Copyrights and licensing are explained in src/wps/wps_upnp.c in more detail. (cherry picked from commit f620268f13dd26c3a3f4ef5509d7d17c0f322a7d)
Diffstat (limited to 'src/eap_peer')
-rw-r--r--src/eap_peer/eap_wsc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eap_peer/eap_wsc.c b/src/eap_peer/eap_wsc.c
index 35c9cce..17e42f4 100644
--- a/src/eap_peer/eap_wsc.c
+++ b/src/eap_peer/eap_wsc.c
@@ -405,6 +405,7 @@ static struct wpabuf * eap_wsc_process(struct eap_sm *sm, void *priv,
eap_wsc_state(data, MESG);
break;
case WPS_FAILURE:
+ case WPS_PENDING:
wpa_printf(MSG_DEBUG, "EAP-WSC: WPS processing failed");
eap_wsc_state(data, FAIL);
break;