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

eapol: Add eapol_sm_get_pairwise_cipher

This commit is contained in:
Denis Kenzior 2016-06-14 17:16:04 -05:00
parent d297fbb215
commit c1ff686ed6
2 changed files with 8 additions and 0 deletions

View File

@ -739,6 +739,11 @@ void eapol_sm_set_tx_user_data(struct eapol_sm *sm, void *user_data)
sm->tx_user_data = user_data;
}
uint32_t eapol_sm_get_pairwise_cipher(struct eapol_sm *sm)
{
return sm->pairwise_cipher;
}
static bool eapol_sm_ifindex_match(void *data, void *user_data)
{
struct eapol_sm *sm = data;

View File

@ -187,6 +187,9 @@ bool eapol_sm_set_own_wpa(struct eapol_sm *sm, const uint8_t *wpa_ie,
size_t len);
void eapol_sm_set_user_data(struct eapol_sm *sm, void *user_data);
void eapol_sm_set_tx_user_data(struct eapol_sm *sm, void *user_data);
uint32_t eapol_sm_get_pairwise_cipher(struct eapol_sm *sm);
struct l_io *eapol_open_pae(uint32_t index);
void eapol_start(uint32_t ifindex, struct eapol_sm *sm);