WPS UPnP: Added support for multiple external Registrars

Allow more than one pending PutWLANMessage data to be stored (M2/M2D
from multiple external Registrars) and drop pending M2/M2D messages when
the Enrollee replies with M3.
This commit is contained in:
Jouni Malinen 2009-02-06 21:39:32 +02:00 committed by Jouni Malinen
parent 745f8b664d
commit 915c1ba3c5
8 changed files with 121 additions and 35 deletions

View file

@ -436,7 +436,6 @@ static void eap_wsc_process(struct eap_sm *sm, void *priv,
case WPS_PENDING:
eap_wsc_state(data, MSG);
sm->method_pending = METHOD_PENDING_WAIT;
sm->wps->pending_session = sm;
eloop_cancel_timeout(eap_wsc_ext_reg_timeout, sm, data);
eloop_register_timeout(5, 0, eap_wsc_ext_reg_timeout,
sm, data);