mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 11:42:46 +01:00
eap: Make eap_register_method public
This commit is contained in:
parent
3f17fa1159
commit
095eec48ab
@ -395,9 +395,10 @@ void eap_restore_last_id(struct eap_state *eap, uint8_t last_id)
|
|||||||
eap->last_id = last_id;
|
eap->last_id = last_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void eap_register_method(struct eap_method *method)
|
int eap_register_method(struct eap_method *method)
|
||||||
{
|
{
|
||||||
l_queue_push_head(eap_methods, method);
|
l_queue_push_head(eap_methods, method);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void eap_init(void) {
|
void eap_init(void) {
|
||||||
|
@ -95,6 +95,8 @@ struct eap_method {
|
|||||||
const uint8_t *pkt, size_t len);
|
const uint8_t *pkt, size_t len);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int eap_register_method(struct eap_method *method);
|
||||||
|
|
||||||
void eap_set_data(struct eap_state *eap, void *data);
|
void eap_set_data(struct eap_state *eap, void *data);
|
||||||
void *eap_get_data(struct eap_state *eap);
|
void *eap_get_data(struct eap_state *eap);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user