3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-30 14:22:37 +01:00

eap: Make eap_register_method public

This commit is contained in:
Denis Kenzior 2015-11-02 09:54:12 -06:00
parent 3f17fa1159
commit 095eec48ab
2 changed files with 4 additions and 1 deletions

View File

@ -395,9 +395,10 @@ void eap_restore_last_id(struct eap_state *eap, uint8_t 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);
return 0;
}
void eap_init(void) {

View File

@ -95,6 +95,8 @@ struct eap_method {
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_get_data(struct eap_state *eap);