diff --git a/src/handshake.c b/src/handshake.c index 582693e4..3de8ca85 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -115,6 +115,11 @@ void handshake_state_set_8021x_config(struct handshake_state *s, s->settings_8021x = settings; } +struct l_settings *handshake_state_get_8021x_config(struct handshake_state *s) +{ + return s->settings_8021x; +} + static void handshake_state_set_ap_ie(struct handshake_state *s, const uint8_t *ie, bool is_wpa) { diff --git a/src/handshake.h b/src/handshake.h index 8f93be42..872e18e1 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -90,6 +90,7 @@ void handshake_state_set_user_data(struct handshake_state *s, void *user_data); void handshake_state_set_pmk(struct handshake_state *s, const uint8_t *pmk); void handshake_state_set_8021x_config(struct handshake_state *s, struct l_settings *settings); +struct l_settings *handshake_state_get_8021x_config(struct handshake_state *s); void handshake_state_set_ap_rsn(struct handshake_state *s, const uint8_t *rsn_ie); bool handshake_state_set_own_rsn(struct handshake_state *s,