[patch] WPS: SelectedRegistrar expiration timeout for PIN connection
andriy.v.tkachuk at globallogic.com
Fri Oct 30 12:48:23 EDT 2009
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 -
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
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.
Maybe I'm missing something and it is how it was designed - not sure. So
I tried to solve it somehow with attached patch. Comments are welcome!
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the HostAP