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

eap: add eap_get_identity

This commit is contained in:
James Prestwood 2019-04-10 14:52:31 -07:00 committed by Denis Kenzior
parent 81fc6a687e
commit f9d92d6cdd
2 changed files with 7 additions and 0 deletions

View File

@ -142,6 +142,11 @@ size_t eap_get_mtu(struct eap_state *eap)
return eap->mtu;
}
const char *eap_get_identity(struct eap_state *eap)
{
return eap->identity;
}
/**
* eap_send_response:
* @eap: EAP state

View File

@ -89,6 +89,8 @@ void eap_set_event_func(struct eap_state *eap, eap_event_func_t func);
void eap_set_mtu(struct eap_state *eap, size_t mtu);
size_t eap_get_mtu(struct eap_state *eap);
const char *eap_get_identity(struct eap_state *eap);
void eap_rx_packet(struct eap_state *eap, const uint8_t *pkt, size_t len);
void eap_init(uint32_t default_mtu);