EAP peer: Allow VENDOR-TEST method in Phase 2
This allows EAP methods to be tested for support of expanded EAP headers in Phase 2. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
5ddbd9e968
commit
f2ef4f2550
1 changed files with 2 additions and 0 deletions
|
@ -2601,6 +2601,8 @@ void eap_sm_notify_ctrl_attached(struct eap_sm *sm)
|
|||
|
||||
static int eap_allowed_phase2_type(int vendor, int type)
|
||||
{
|
||||
if (vendor == EAP_VENDOR_HOSTAP)
|
||||
return 1;
|
||||
if (vendor != EAP_VENDOR_IETF)
|
||||
return 0;
|
||||
return type != EAP_TYPE_PEAP && type != EAP_TYPE_TTLS &&
|
||||
|
|
Loading…
Add table
Reference in a new issue