hostapd/src/wps
Jouni Malinen ff22d1e10e WPS: Fix clearing of SetSelectedRegistrar with multiple interfaces
The SetSelectedRegistrar timeout was registered for each registrar
instance, but the only context pointer (struct subscription *) was
shared with each registrar which resulted in the timeout getting
cancelled for some of the registrar instances before the selected
registrar (ER) information was cleared.

In addition, when an ER unsubscribed from receiving events, the
selected registrar information got cleared only from a single
registrar.

Fix these issues by registering a pointer to the registrar
instance in the timeout and by iterating over all UPnP interfaces
when removing a subscription.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2012-02-13 23:02:57 +02:00
..
http.h WPS: Move POST URL validation into web_connection_parse_post() 2009-12-12 16:48:50 +02:00
http_client.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
http_client.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
http_server.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
http_server.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
httpread.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
httpread.h Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
ndef.c Resolve some sparse warnings 2009-11-25 00:57:00 +02:00
upnp_xml.c WPS ER: Fix UPnP XML Device Description parser to find correct device 2011-08-31 13:56:03 +03:00
upnp_xml.h WPS ER: Fix UPnP XML Device Description parser to find correct device 2011-08-31 13:56:03 +03:00
wps.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_attr_build.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_attr_parse.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_attr_process.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_common.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_defs.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_dev_attr.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_dev_attr.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_enrollee.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_er.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_er.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_er_ssdp.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_i.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_nfc.c WPS: Add support for NFC out-of-band mechanism 2009-03-06 16:16:22 +02:00
wps_nfc_pn531.c WPS: Add support for NFC out-of-band mechanism 2009-03-06 16:16:22 +02:00
wps_registrar.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_ufd.c Remove unnecessary include file inclusion 2011-11-13 22:13:04 +02:00
wps_upnp.c WPS: Fix clearing of SetSelectedRegistrar with multiple interfaces 2012-02-13 23:02:57 +02:00
wps_upnp.h WPS: Change concurrent radio AP to use only one WPS UPnP instance 2010-11-11 14:50:13 +02:00
wps_upnp_ap.c WPS: Fix clearing of SetSelectedRegistrar with multiple interfaces 2012-02-13 23:02:57 +02:00
wps_upnp_event.c WPS UPnP: Add more priority for queuing EAP events 2010-10-17 21:30:25 +03:00
wps_upnp_i.h WPS: Fix clearing of SetSelectedRegistrar with multiple interfaces 2012-02-13 23:02:57 +02:00
wps_upnp_ssdp.c Remove unused variable and function 2011-10-22 21:59:17 +03:00
wps_upnp_web.c Fix typos found by codespell 2011-09-22 00:43:59 +03:00
wps_validate.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00