eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit f9d92d6cddb9a59925fa9fa3d7862ca223d04e2b
parent 81fc6a687e779cce3d0b7a82cb6ec26966971208
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Wed, 10 Apr 2019 14:52:31 -0700

eap: add eap_get_identity

Diffstat:
Msrc/eap.c | 5+++++
Msrc/eap.h | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/eap.c b/src/eap.c @@ -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 diff --git a/src/eap.h b/src/eap.h @@ -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);