aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-03-24 14:44:21 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-03-24 15:29:45 (GMT)
commit87d8435cf9fd033defafd952cf80090cc9a1cb2d (patch)
tree61ff9de884c2071984eccc203c73f4783ca21cb4 /src/ap/hostapd.h
parent74cb18c6b0bc47d2d8fbdc4b70232b4b4a7a1222 (diff)
downloadhostap-87d8435cf9fd033defafd952cf80090cc9a1cb2d.zip
hostap-87d8435cf9fd033defafd952cf80090cc9a1cb2d.tar.gz
hostap-87d8435cf9fd033defafd952cf80090cc9a1cb2d.tar.bz2
DPP: Common configurator/bootstrapping data management
Merge the practically copy-pasted implementations in wpa_supplicant and hostapd into a single shared implementation in dpp.c for managing configurator and boostrapping information. This avoid unnecessary code duplication and provides a convenient location for adding new global DPP data. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index b8637c4..790d377 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -66,9 +66,7 @@ struct hapd_interfaces {
int eloop_initialized;
#ifdef CONFIG_DPP
- int dpp_init_done;
- struct dl_list dpp_bootstrap; /* struct dpp_bootstrap_info */
- struct dl_list dpp_configurator; /* struct dpp_configurator */
+ struct dpp_global *dpp;
#endif /* CONFIG_DPP */
};