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: Allow NULL state for Phase 2

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

View File

@ -673,11 +673,8 @@ static bool eap_ttls_tunnel_ready(struct eap_state *eap,
eap_set_key_material(eap, msk_emsk + 0, 64, msk_emsk + 64, 64, NULL, 0);
if (!phase2->state)
return false;
if (phase2->ops->init)
phase2->ops->init(eap);
return phase2->ops->init(eap);
return true;
}