[patch] WPS: SelectedRegistrar expiration timeout for PIN connection
Jouni Malinen
j
Sun Nov 1 12:23:02 PST 2009
On Fri, Oct 30, 2009 at 06:48:23PM +0200, Andriy Tkachuk wrote:
> Though we have such timeout (see $subj) when handling
> SetSelectedRegistrar UPnP message from external registrar (see
> wps_registrar_set_selected_registrar() in src/wps/wps_registrar.c -
> http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=src/wps/wps_registrar.c;h=cfe63aeb5e6cdf07ed3649844cc6cb8fae194461;hb=HEAD#l2687),
> it looks like we don't have the one when internal registrar is activated
> for PIN connection. Thus we set the SelectedRegistrar flag when AP is
> activated for PIN connection
> (http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=src/wps/wps_registrar.c;h=cfe63aeb5e6cdf07ed3649844cc6cb8fae194461;hb=HEAD#l534)
> but we don't ever reset it - not by some timeout, nor when registration
> succeeded. This lead to situations when AP everlasting declare that it
> is activated for WPS PIN connection when in reality it is not.
Thanks! Applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list