eapol: Add __eapol_set_protocol_version
This commit is contained in:
parent
87dc9543b2
commit
2ee8b8e56e
|
@ -493,6 +493,11 @@ void __eapol_set_get_nonce_func(eapol_get_nonce_func_t func)
|
||||||
get_nonce = func;
|
get_nonce = func;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void __eapol_set_protocol_version(enum eapol_protocol_version version)
|
||||||
|
{
|
||||||
|
protocol_version = version;
|
||||||
|
}
|
||||||
|
|
||||||
bool eapol_init()
|
bool eapol_init()
|
||||||
{
|
{
|
||||||
state_machines = l_hashmap_new();
|
state_machines = l_hashmap_new();
|
||||||
|
|
|
@ -129,6 +129,7 @@ struct eapol_key *eapol_create_ptk_4_of_4(
|
||||||
|
|
||||||
void __eapol_set_tx_packet_func(eapol_tx_packet_func_t func);
|
void __eapol_set_tx_packet_func(eapol_tx_packet_func_t func);
|
||||||
void __eapol_set_get_nonce_func(eapol_get_nonce_func_t func);
|
void __eapol_set_get_nonce_func(eapol_get_nonce_func_t func);
|
||||||
|
void __eapol_set_protocol_version(enum eapol_protocol_version version);
|
||||||
|
|
||||||
struct eapol_sm *eapol_sm_new();
|
struct eapol_sm *eapol_sm_new();
|
||||||
void eapol_sm_free(struct eapol_sm *sm);
|
void eapol_sm_free(struct eapol_sm *sm);
|
||||||
|
|
Loading…
Reference in New Issue