mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 19:02:34 +01:00
eap: add accessor for method success
This commit is contained in:
parent
7fd6803c7a
commit
ad94752170
@ -438,6 +438,11 @@ void eap_method_event(struct eap_state *eap, unsigned int id, const void *data)
|
||||
eap->event_func(id, data, eap->user_data);
|
||||
}
|
||||
|
||||
bool eap_method_is_success(struct eap_state *eap)
|
||||
{
|
||||
return eap->method_success;
|
||||
}
|
||||
|
||||
void eap_method_success(struct eap_state *eap)
|
||||
{
|
||||
eap->method_success = true;
|
||||
|
@ -139,6 +139,7 @@ void eap_set_key_material(struct eap_state *eap,
|
||||
|
||||
void eap_start_complete_timeout(struct eap_state *eap);
|
||||
|
||||
bool eap_method_is_success(struct eap_state *eap);
|
||||
void eap_method_success(struct eap_state *eap);
|
||||
void eap_method_error(struct eap_state *eap);
|
||||
void eap_method_event(struct eap_state *eap, unsigned int type,
|
||||
|
Loading…
Reference in New Issue
Block a user