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:
parent
af297039b1
commit
f924974e62
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user