3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-30 06:02:39 +01:00

handshake: Add getter for settings_8021x

This commit is contained in:
Tim Kourt 2016-11-15 11:03:31 -08:00 committed by Denis Kenzior
parent ea08bcd8fd
commit d0b735c73c
2 changed files with 6 additions and 0 deletions

View File

@ -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)
{

View File

@ -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,