]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Reconfigure credentials on hostapd config reload
authorRaphaël Mélotte <raphael.melotte@mind.be>
Thu, 4 Feb 2021 15:36:13 +0000 (16:36 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 6 Feb 2021 15:15:31 +0000 (17:15 +0200)
commitf95ccc102a6e55bb2543ba68164d6a007a188b25
treefa766ded17c9e089598c03054bd193e7c79dd3fc
parent2fd90eb095e18ce1c505bb6acaccff76072aeebe
WPS: Reconfigure credentials on hostapd config reload

When new credentials are configured and hostapd is reconfigured using
SIGHUP (or RELOAD on the ctrl_iface), also update the WPS credentials.

Before these changes, when WPS is triggered the Registar always serves
the credentials that were configured when hostapd started.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
src/ap/wps_hostapd.c
src/wps/wps.h
src/wps/wps_registrar.c