mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
eap: add eap_get_identity
This commit is contained in:
parent
81fc6a687e
commit
f9d92d6cdd
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user