3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

eap-ttls: Change signature of Phase 2 reset method

This commit is contained in:
Tim Kourt 2019-01-10 14:34:26 -08:00 committed by Denis Kenzior
parent f924974e62
commit 9d1e2fa85b

View File

@ -353,7 +353,7 @@ struct phase2_method_ops {
uint32_t vendor_id, const uint8_t *data,
size_t len);
void (*destroy)(void *state);
bool (*reset)(void *state);
void (*reset)(void *state);
};
struct phase2_credentials {
@ -637,12 +637,12 @@ static void eap_ttls_phase2_eap_destroy(void *state)
eap_free(state);
}
static bool eap_ttls_phase2_eap_reset(void *state)
static void eap_ttls_phase2_eap_reset(void *state)
{
if (!state)
return false;
return;
return eap_reset(state);
eap_reset(state);
}
static const struct phase2_method_ops phase2_eap_ops = {